Skip to content

Commit b663197

Browse files
garloffgithub-advanced-security[bot]jschoone
authored
Potential fix for code scanning alert no. 1: Workflow does not contain permissions (#242)
* Potential fix for code scanning alert no. 1: Workflow does not contain permissions Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> Signed-off-by: Kurt Garloff <kurt@garloff.de> * Fix the yaml syntax check action permissions as well. Signed-off-by: Kurt Garloff <kurt@garloff.de> --------- Signed-off-by: Kurt Garloff <kurt@garloff.de> Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> Co-authored-by: Jan Schoone <6106846+jschoone@users.noreply.github.com>
1 parent 12daa9e commit b663197

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/ansible-lint.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
---
22
name: Ansible lint
3+
permissions:
4+
contents: read
35

46
"on":
57
push:

.github/workflows/check-yaml-syntax.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
---
22
name: Check yaml syntax
3+
permissions:
4+
contents: read
35

46
"on":
57
push:

0 commit comments

Comments
 (0)