Skip to content

Commit 01f19cf

Browse files
authored
fix: Update sync-release-version.yml (#186)
1 parent 71ad66f commit 01f19cf

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/sync-release-version.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
name: Update release version.
2+
3+
permissions:
4+
contents: write
5+
pull-requests: write
6+
27
on:
38
release:
49
types: [published]
@@ -32,4 +37,4 @@ jobs:
3237
branch: "upgrade-to-${{ steps.sync-release-version.outputs.new_version }}"
3338
commit-message: "Upgraded from ${{ steps.sync-release-version.outputs.old_version }} -> ${{ steps.sync-release-version.outputs.new_version }}"
3439
body: "View [CHANGES](https://github.com/${{ github.repository }}/compare/${{ steps.sync-release-version.outputs.old_version }}...${{ steps.sync-release-version.outputs.new_version }})"
35-
token: ${{ secrets.PAT_TOKEN }}
40+
token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)