Skip to content

Commit 0726f90

Browse files
committed
build: explicitly set permissions for workflow
1 parent 514666b commit 0726f90

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/random_examples.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,11 @@ on:
2828
# Allow the workflow to be manually run:
2929
workflow_dispatch:
3030

31+
# Global permissions:
32+
permissions:
33+
# Allow read-only access to the repository contents:
34+
contents: read
35+
3136
# Workflow jobs:
3237
jobs:
3338

0 commit comments

Comments
 (0)