Skip to content

Commit 0eb2ec5

Browse files
committed
Move permissions inside the job definition
1 parent ccdcef6 commit 0eb2ec5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/update.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,12 @@ on:
66
- 'main'
77
pull_request:
88
workflow_dispatch:
9-
permissions:
10-
pull-requests: write
119
jobs:
1210
update:
1311
runs-on: ubuntu-latest
1412
permissions:
1513
contents: write
14+
pull-requests: write
1615
steps:
1716
- uses: actions/setup-python@v5
1817
with:

0 commit comments

Comments
 (0)