Skip to content

Commit a13e813

Browse files
authored
ci: restrict the permissions
1 parent 80de2aa commit a13e813

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
@@ -4,9 +4,6 @@ env:
44
APP_NAME: package-template
55
MACOSX_DEPLOYMENT_TARGET: '10.13'
66
CARGO_INCREMENTAL: '1'
7-
permissions:
8-
contents: write
9-
id-token: write
107
'on':
118
push:
129
branches:
@@ -339,6 +336,9 @@ jobs:
339336
publish:
340337
name: Publish
341338
runs-on: ubuntu-latest
339+
permissions:
340+
contents: write
341+
id-token: write
342342
needs:
343343
- lint
344344
- build-freebsd

0 commit comments

Comments
 (0)