File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 1010 release :
1111 runs-on : ubuntu-latest
1212
13+ environment : trigger-release
14+
1315 steps :
1416 - name : Checkout (with tags)
1517 uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
@@ -19,14 +21,14 @@ jobs:
1921 fetch-tags : true
2022 # We need the credentials to push the tag
2123 persist-credentials : true
24+ # The standard GITHUB_TOKEN creates no workflow on pushes. That prevents the tag not triggering a release
25+ token : ${{ secrets.PUSH_PAT }}
2226
2327 - name : Configure git author
2428 run : |
2529 git config user.name "${GITHUB_ACTOR}"
2630 git config user.email "${GITHUB_ACTOR}@users.noreply.github.com"
2731
2832 - name : Run release script (non-interactive)
29- env :
30- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
3133 run : |
3234 ./scripts/release.main.kts --no-confirm
You can’t perform that action at this time.
0 commit comments