Skip to content

Commit 7119268

Browse files
ci: add permissions (#345)
1 parent e16e617 commit 7119268

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/ci.yml

+6
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,18 @@ on:
88
pull_request: {}
99
workflow_dispatch:
1010

11+
permissions: {}
12+
1113
concurrency:
1214
group: ${{ github.workflow }}-${{ github.ref }}
1315
cancel-in-progress: true
1416

1517
jobs:
1618
build_test_release:
19+
permissions:
20+
actions: write
21+
contents: write
22+
1723
strategy:
1824
matrix:
1925
node-version: ${{ fromJSON((github.ref == 'refs/heads/main' || github.ref == 'refs/heads/beta') && '[16]' || '[14,16]') }}

0 commit comments

Comments
 (0)