Skip to content

Commit 768c1b8

Browse files
Merge pull request #23 from arpitjain099/chore/declare-workflow-perms-readonly
ci: declare workflow-level `contents: read` on 2 workflows
2 parents 39cfaf6 + 8a013b9 commit 768c1b8

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/notebooks.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ on:
2626
env:
2727
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
2828

29+
permissions:
30+
contents: read
31+
2932
jobs:
3033
# Notebooks that use BOXCRETE_OPTIMIZATION_MODE run in both mortar and concrete modes
3134
mode-dependent-notebooks:

.github/workflows/tests.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ on:
1616
env:
1717
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
1818

19+
permissions:
20+
contents: read
21+
1922
jobs:
2023
test:
2124
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)