Skip to content

Commit 30f733a

Browse files
authored
Merge pull request #30 from reload/alert-autofix-1
Potential fix for code scanning alert no. 1: Workflow does not contain permissions
2 parents cc89da9 + b1dee54 commit 30f733a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/yaml.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
---
22
on: pull_request
33
name: YAML
4+
permissions:
5+
contents: read
46

57
# Detect if this action is already running, and cancel it.
68
# This most likely happened because a second push has been made to a branch.

0 commit comments

Comments
 (0)