Skip to content

ci(release): run CI on release PRs - #48

Merged
StefanoGuerrini merged 1 commit into
mainfrom
ci/release-pr-runs-ci
Oct 14, 2026
Merged

StefanoGuerrini merged 1 commit into
mainfrom
ci/release-pr-runs-ci

Conversation

@StefanoGuerrini

Copy link
Copy Markdown
Contributor

Summary

Release PRs are opened with the built-in GitHub token, so GitHub starts no workflows on them and asks for a manual approval. The release workflow now starts CI on each open release PR itself, so its checks run before the merge. No new secret.

Changes

  • release.yml: after release-please opens or updates its PR, the job runs ci.yml on each open release PR branch (actions: write).
  • ci.yml: a workflow_dispatch trigger, so it can be started that way.

The "workflows awaiting approval" note still shows on release PRs; CI has already run, so it can be ignored.

Release PRs come from GITHUB_TOKEN, so GitHub starts no workflows on them.
The release workflow now starts CI on each open release PR, so its checks
run before the merge.
@StefanoGuerrini
StefanoGuerrini marked this pull request as ready for review October 14, 2026 10:44
@StefanoGuerrini
StefanoGuerrini requested a review from a team as a code owner October 14, 2026 10:44
@StefanoGuerrini
StefanoGuerrini merged commit 7d590e5 into main Oct 14, 2026
2 checks passed
@StefanoGuerrini
StefanoGuerrini deleted the ci/release-pr-runs-ci branch October 14, 2026 10:44
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