Skip to content

Commit c2ff9b1

Browse files
committed
ci: use PAT for post-release-templates
1 parent 97aca5f commit c2ff9b1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/post-release-templates.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,13 +83,13 @@ jobs:
8383
8484
git diff --name-only
8585
86-
export BRANCH_NAME=templates/bump-${{ steps.determine_tag.outputs.release_tag }}
86+
export BRANCH_NAME=templates/bump-${{ steps.determine_tag.outputs.release_tag }}-$(date +%s)
8787
echo "branch=$BRANCH_NAME" >> "$GITHUB_OUTPUT"
8888
8989
- name: Create pull request
9090
uses: peter-evans/create-pull-request@v7
9191
with:
92-
token: ${{ secrets.GITHUB_TOKEN }}
92+
token: ${{ secrets.GH_TOKEN_POST_RELEASE_TEMPLATES }}
9393
labels: 'area: templates'
9494
author: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
9595
commit-message: 'templates: bump templates for ${{ steps.determine_tag.outputs.release_tag }}'

0 commit comments

Comments
 (0)