Skip to content

Commit a2186a7

Browse files
authored
ci(ci): set job permissions (#91)
1 parent d37103e commit a2186a7

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
@@ -16,6 +16,9 @@ on:
1616

1717
jobs:
1818
test:
19+
permissions:
20+
contents: write
21+
pull-requests: write
1922
uses: fastify/workflows/.github/workflows/plugins-ci.yml@v5
2023
with:
2124
license-check: true

.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)