Skip to content

Commit cc460b1

Browse files
committed
Trying to grant workflow permissions
1 parent 180d83c commit cc460b1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/test.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ defaults:
1212
run:
1313
shell: pwsh
1414

15+
permissions:
16+
workflows: write
17+
1518
jobs:
1619
close_milestone:
1720
runs-on: ubuntu-latest
@@ -54,5 +57,5 @@ jobs:
5457
git config --local user.email "github-actions[bot]@users.noreply.github.com"
5558
git config --local user.name "github-actions[bot]"
5659
git commit -m "[automated] Increment version numbers after release of ${{ inputs.milestone }}" --all
57-
git remote set-url origin https://${{ secrets.SA_PAT }}@github.com/${{ github.repository }}
60+
git remote set-url origin https://${{ github.token }}@github.com/${{ github.repository }}
5861
git push

0 commit comments

Comments
 (0)