File tree Expand file tree Collapse file tree 4 files changed +26
-0
lines changed
Expand file tree Collapse file tree 4 files changed +26
-0
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,10 @@ concurrency:
44 group : ${{ github.workflow }}-${{ github.ref }}
55 cancel-in-progress : true
66
7+ # https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions
8+ permissions :
9+ contents : read
10+
711on :
812 workflow_dispatch :
913 schedule :
Original file line number Diff line number Diff line change @@ -4,6 +4,10 @@ concurrency:
44 group : ${{ github.workflow }}-${{ github.ref }}
55 cancel-in-progress : true
66
7+ # https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions
8+ permissions :
9+ contents : read
10+
711on :
812 push :
913 branches :
2731jobs :
2832 release :
2933 runs-on : ubuntu-latest
34+ permissions :
35+ # same as global permissions
36+ contents : read
37+ # required to push to GHCR
38+ packages : write
3039 steps :
3140 -
3241 name : Checkout
Original file line number Diff line number Diff line change @@ -4,6 +4,10 @@ concurrency:
44 group : ${{ github.workflow }}-${{ github.ref }}
55 cancel-in-progress : true
66
7+ # https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions
8+ permissions :
9+ contents : read
10+
711on :
812 push :
913 branches :
1923jobs :
2024 labeler :
2125 runs-on : ubuntu-latest
26+ permissions :
27+ # same as global permissions
28+ contents : read
29+ # required to update labels
30+ issues : write
2231 steps :
2332 -
2433 name : Checkout
Original file line number Diff line number Diff line change @@ -4,6 +4,10 @@ concurrency:
44 group : ${{ github.workflow }}-${{ github.ref }}
55 cancel-in-progress : true
66
7+ # https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions
8+ permissions :
9+ contents : read
10+
711on :
812 push :
913 branches :
You can’t perform that action at this time.
0 commit comments