Skip to content

Commit f33fd56

Browse files
authored
Merge pull request #27 from roc-lang/add-workflow-permissions
add workflow permissions
2 parents 8da47ae + 7964a5a commit f33fd56

File tree

4 files changed

+13
-2
lines changed

4 files changed

+13
-2
lines changed

.github/workflows/bundle.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
types:
77
- published
88

9+
# Do not add permissions here! Configure them at the job level!
10+
permissions: {}
11+
912
jobs:
1013
bundle:
1114
name: Bundle

.github/workflows/generate-docs.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
types:
77
- published
88

9+
# Do not add permissions here! Configure them at the job level!
10+
permissions: {}
11+
912
jobs:
1013
generate-docs:
1114
name: Generate docs

.github/workflows/tests-nix.yaml

+4-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,10 @@ on:
66
concurrency:
77
group: ${{ github.workflow }}-${{ github.ref }}
88
cancel-in-progress: true
9-
9+
10+
# Do not add permissions here! Configure them at the job level!
11+
permissions: {}
12+
1013
jobs:
1114
test-examples-nix:
1215
runs-on: [ubuntu-24.04]

.github/workflows/tests.yaml

+3-1
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,10 @@ concurrency:
77
group: ${{ github.workflow }}-${{ github.ref }}
88
cancel-in-progress: true
99

10-
jobs:
10+
# Do not add permissions here! Configure them at the job level!
11+
permissions: {}
1112

13+
jobs:
1214
test-examples-ubuntu:
1315
runs-on: [ubuntu-24.04]
1416
steps:

0 commit comments

Comments
 (0)