Skip to content

Commit 1fcc1fb

Browse files
authored
ci(ci): set job permissions (#210)
1 parent 056046d commit 1fcc1fb

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ jobs:
1919
uses: ./.github/workflows/playwright.yml
2020

2121
test:
22+
permissions:
23+
contents: write
24+
pull-requests: write
2225
uses: fastify/workflows/.github/workflows/plugins-ci.yml@v5
2326
needs: e2e
2427
with:

.github/workflows/package-manager-ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,6 @@ on:
1616

1717
jobs:
1818
test:
19+
permissions:
20+
contents: read
1921
uses: fastify/workflows/.github/workflows/plugins-ci-package-manager.yml@v5

0 commit comments

Comments
 (0)