Commit 90f2fa4
authored
fix: use RELEASE_PLZ_TOKEN to trigger workflows on release PRs (#131)
## Summary
- Replace GITHUB_TOKEN with RELEASE_PLZ_TOKEN in release-plz workflow to
enable CI workflows to run automatically on release PRs
## Problem
When GitHub Actions creates a PR using the default `GITHUB_TOKEN`,
GitHub intentionally doesn't trigger other workflows to prevent infinite
loops. This meant our release PRs (#117) didn't run CI checks
automatically.
## Solution
Use the `RELEASE_PLZ_TOKEN` (Personal Access Token) that has the
necessary `repo` and `workflow` permissions to create PRs that trigger
CI workflows normally.
## Changes
- Updated `.github/workflows/release-plz.yml` to use `${{
secrets.RELEASE_PLZ_TOKEN }}` instead of `${{ secrets.GITHUB_TOKEN }}`
in both jobs
## Testing
- The RELEASE_PLZ_TOKEN has already been created and added to repository
secrets
- Future release PRs will now automatically trigger CI workflows
- This change will be validated when the next release PR is created
Closes #1301 parent f7bdc9d commit 90f2fa4
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
| 59 | + | |
60 | 60 | | |
0 commit comments