Skip to content

Commit 58ecdf9

Browse files
authored
ci(ci): set job permissions (#98)
1 parent a08dd3b commit 58ecdf9

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ name: CI
22

33
on:
44
push:
5+
branches:
6+
- main
7+
- next
8+
- 'v*'
59
paths-ignore:
610
- 'docs/**'
711
- '*.md'
@@ -12,6 +16,9 @@ on:
1216

1317
jobs:
1418
test:
19+
permissions:
20+
contents: write
21+
pull-requests: write
1522
uses: fastify/workflows/.github/workflows/plugins-ci.yml@v5
1623
with:
1724
auto-merge-exclude: 'chalk, ora'

0 commit comments

Comments
 (0)