Skip to content

Commit a9a739c

Browse files
authored
Add permissions
1 parent 163eeab commit a9a739c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/update-workflow.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ jobs:
77
update-fork:
88
runs-on: ubuntu-latest
99
if: github.event.label.name == 'update-fork'
10-
10+
permissions:
11+
contents: write
12+
actions: write
1113
steps:
1214
- uses: peter-murray/workflow-application-token-action@dc0413987a085fa17d19df9e47d4677cf81ffef3 # v2.1.0
1315
if: ${{ vars.use_github_app == 'true' }}
@@ -38,4 +40,4 @@ jobs:
3840
3941
- run: |
4042
.\update-fork.ps1 -orgName ${{ github.repository_owner }} -userName "xxx" -PAT ${{ steps.get-token.outputs.token }} -issueTitle "${{ github.event.issue.title }}" -issueId ${{ github.event.issue.number }} -issuesRepository ${{ github.repository }}
41-
shell: pwsh
43+
shell: pwsh

0 commit comments

Comments
 (0)