Skip to content

Commit 6de3492

Browse files
fix(ci): ensure CI checks run on release-please PRs (#26)
* Initial plan * fix(ci): ensure CI checks run on release-please PRs Add release-please branch pattern to CI push triggers and use a configurable token for release-please so its pushes trigger CI. When release-please uses GITHUB_TOKEN, GitHub Actions won't fire events for other workflows. By using RELEASE_PLEASE_TOKEN (a PAT or GitHub App token), the push to the release-please branch will trigger CI, and the checks will appear on the PR. The repo owner needs to add a RELEASE_PLEASE_TOKEN secret with contents:write and pull-requests:write permissions. Co-authored-by: deviantintegral <255023+deviantintegral@users.noreply.github.com> * fix(ci): remove branch filter change and github.token fallback Per review feedback: - Revert ci.yml branch filter (no release-please branch pattern needed) - Use only secrets.RELEASE_PLEASE_TOKEN without fallback to github.token Co-authored-by: deviantintegral <255023+deviantintegral@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: deviantintegral <255023+deviantintegral@users.noreply.github.com>
1 parent 6ca765e commit 6de3492

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ jobs:
2121
id: release
2222
with:
2323
release-type: python
24+
token: ${{ secrets.RELEASE_PLEASE_TOKEN }}
2425

2526
publish:
2627
needs: [ci, release-please]

0 commit comments

Comments
 (0)