Showing the changes to .github (1 of 1 file). Show all
Unified · Split
| @@ -57,7 +57,13 @@ jobs: · 56 unmodified lines | ||
| 57 | 57 | title: Version Packages |
| 58 | 58 | createGithubReleases: false |
| 59 | 59 | env: |
| 60 | − GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| 60 | + # PAT (RELEASE_PAT) so the auto-opened Version Packages PR | |
| 61 | + # triggers downstream workflows (pkg-pr-new, CI). PRs authored | |
| 62 | + # by the default GITHUB_TOKEN do not trigger other workflows by | |
| 63 | + # GitHub design. Falls back to GITHUB_TOKEN when the secret is | |
| 64 | + # not set, so the workflow keeps working in forks / before the | |
| 65 | + # secret is configured. | |
| 66 | + GITHUB_TOKEN: ${{ secrets.RELEASE_PAT || secrets.GITHUB_TOKEN }} | |
| 61 | 67 | |
| 62 | 68 | - name: Publish @executor-js library packages |
| 63 | 69 | if: steps.changesets.outputs.hasChangesets == 'false' |