build: use same GitHub token for releases as for translation etc pushes

This commit is contained in:
Jakob Borg
2025-05-31 08:50:42 +02:00
parent 15f693d93c
commit 50480f6ccb
+2 -2
View File
@@ -19,7 +19,7 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
ref: ${{ github.ref }} # https://github.com/actions/checkout/issues/882 ref: ${{ github.ref }} # https://github.com/actions/checkout/issues/882
token: ${{ secrets.STRELEASE_GITHUB_TOKEN }} token: ${{ secrets.ACTIONS_GITHUB_TOKEN }}
- uses: actions/setup-go@v5 - uses: actions/setup-go@v5
with: with:
@@ -47,7 +47,7 @@ jobs:
run: | run: |
go run ./script/relnotes.go --new-ver "$NEXT" --branch "$GITHUB_REF_NAME" --prev-ver "$PREV" > notes.md go run ./script/relnotes.go --new-ver "$NEXT" --branch "$GITHUB_REF_NAME" --prev-ver "$PREV" > notes.md
env: env:
GITHUB_TOKEN: ${{ secrets.STRELEASE_GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.ACTIONS_GITHUB_TOKEN }}
- name: Create and push tag - name: Create and push tag
run: | run: |