diff --git a/.github/workflows/auto-backmerge.yml b/.github/workflows/auto-backmerge.yml index a907e7443..e94eb1502 100644 --- a/.github/workflows/auto-backmerge.yml +++ b/.github/workflows/auto-backmerge.yml @@ -56,7 +56,7 @@ jobs: if: steps.check.outputs.next_exists == 'true' id: branch env: - GH_TOKEN: ${{ github.token }} + GH_TOKEN: ${{ secrets.GSD_BOT_PR_TOKEN || secrets.GITHUB_TOKEN }} run: | set -euo pipefail SHORT_SHA=$(git rev-parse --short HEAD) @@ -108,7 +108,7 @@ jobs: - name: Open or update PR if: steps.check.outputs.next_exists == 'true' && steps.branch.outputs.reused != 'true' env: - GH_TOKEN: ${{ github.token }} + GH_TOKEN: ${{ secrets.GSD_BOT_PR_TOKEN || secrets.GITHUB_TOKEN }} BR: ${{ steps.branch.outputs.branch }} run: | set -euo pipefail diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d04647649..806c694fa 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -326,7 +326,7 @@ jobs: if: ${{ !inputs.dry_run }} continue-on-error: true env: - GH_TOKEN: ${{ github.token }} + GH_TOKEN: ${{ secrets.GSD_BOT_PR_TOKEN || secrets.GITHUB_TOKEN }} BRANCH: ${{ needs.validate-version.outputs.branch }} VERSION: ${{ inputs.version }} run: |