Skip to content

Commit 9ecc9c4

Browse files
Copilotmihow
andcommitted
Add explicit permissions to GitHub Actions workflow for security
Co-authored-by: mihow <158175+mihow@users.noreply.github.com>
1 parent 1a55b70 commit 9ecc9c4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/test-slurm-jobs.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ on:
2020
jobs:
2121
test-slurm-environment:
2222
runs-on: ubuntu-latest
23+
permissions:
24+
contents: read
2325

2426
steps:
2527
- name: Checkout code

0 commit comments

Comments
 (0)