Skip to content

Commit cd22aee

Browse files
authored
ci: add minimum GitHub token permissions for workflows (webpack-contrib#1470)
1 parent 57ebc7a commit cd22aee

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/cancel.yml

+5
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
name: Cancel
22
on: [push]
3+
permissions:
4+
contents: read
5+
36
jobs:
47
cancel:
8+
permissions:
9+
actions: write # for styfle/cancel-workflow-action to cancel/stop running workflows
510
name: Cancel Previous Runs
611
runs-on: ubuntu-latest
712
timeout-minutes: 3

0 commit comments

Comments
 (0)