Skip to content

Commit a041aea

Browse files
Potential fix for code scanning alert no. 17: Workflow does not contain permissions
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
1 parent c9afb60 commit a041aea

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/go.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33

44
name: Go
55

6+
permissions:
7+
contents: read
8+
69
on:
710
push:
811
branches: [ "main" ]

0 commit comments

Comments
 (0)