8000 ci: set permissions at workflow level (#863) · fastify/fastify-swagger@a43b5b2 · GitHub
[go: up one dir, main page]

S 8000 kip to content

Commit a43b5b2

Browse files
authored
ci: set permissions at workflow level (#863)
1 parent 8f61264 commit a43b5b2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ on:
1414
- 'docs/**'
1515
- '*.md'
1616

17+
permissions:
18+
contents: read
19+
1720
jobs:
1821
test:
19-
permissions:
20-
contents: write
21-
pull-requests: write
2222
uses: fastify/workflows/.github/workflows/plugins-ci.yml@v5
2323
with:
2424
license-check: true

0 commit comments

Comments
 (0)
0