Potential fix for code scanning alert no. 1: Workflow does not contain permissions (#747)
This commit is contained in:
1 file changed
+3
@@ -10,6 +10,9 @@ on:
|
|||||||
branches: [main]
|
branches: [main]
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
# Cancel in-progress runs when a new commit lands on the same PR branch.
|
# Cancel in-progress runs when a new commit lands on the same PR branch.
|
||||||
# On main (push events), each commit gets a unique group so rapid merges
|
# On main (push events), each commit gets a unique group so rapid merges
|
||||||
# don't cancel each other's CI runs.
|
# don't cancel each other's CI runs.
|
||||||
|
|||||||
Reference in new issue
Block a user