We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
permissions
1 parent 92be52d commit acb72a4Copy full SHA for acb72a4
.github/workflows/main.yml
@@ -6,6 +6,9 @@ on:
6
- main
7
pull_request:
8
9
+permissions:
10
+ contents: read # to fetch code (actions/checkout)
11
+
12
jobs:
13
test:
14
name: 'Tests on ${{matrix.platform}}'
.github/workflows/release.yml
@@ -8,8 +8,14 @@ on:
concurrency: ${{ github.workflow }}-${{ github.ref }}
+permissions: {}
release:
+ permissions:
15
+ contents: write # to create release
16
+ issues: write # to post issue comments
17
+ pull-requests: write # to create pull request
18
19
name: Release
20
runs-on: ubuntu-latest
21
steps:
0 commit comments