Skip to content

ci: run release-pr after skipped check job - #188

Merged
msk merged 1 commit into
mainfrom
fix/release-plz-skipped-pr
Nov 22, 2026
Merged

msk merged 1 commit into
mainfrom
fix/release-plz-skipped-pr

Conversation

@msk

@msk msk commented Nov 22, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • On workflow_run, the optional check job is skipped, so GitHub's default success() gate skipped release-pr even when release succeeded.
  • Require always() plus an explicit needs.release.result == 'success' (and the same pattern for the release-PR validation jobs) so a release PR is opened after every successful main CI.

Test plan

  • Merge this PR and confirm the follow-up Release-plz workflow_run executes release-pr (not skipped).
  • Confirm a release PR is opened or updated for the unreleased commits on main.
  • Confirm check-release-pr / check-release-changelog run when prs_created is true.

On workflow_run, check is skipped, so the default success() gate
skipped release-pr even when release succeeded. Require always()
and an explicit release success result instead.
@codecov

codecov Bot commented Nov 22, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 82.11%. Comparing base (8608006) to head (1454dea).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #188   +/-   ##
=======================================
  Coverage   82.11%   82.11%           
=======================================
  Files           4        4           
  Lines        1571     1571           
=======================================
  Hits         1290     1290           
  Misses        281      281           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@msk
msk merged commit 0692c51 into main Nov 22, 2026
9 checks passed
@msk
msk deleted the fix/release-plz-skipped-pr branch November 22, 2026 02:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant