Skip to content

Commit 3fe4390

Browse files
Potential fix for code scanning alert no. 3: Workflow does not contain permissions (#31)
Signed-off-by: Mitul Shah <shahmitul005@gmail.com> Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
1 parent 1b8f759 commit 3fe4390

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/go.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ on:
99
pull_request:
1010
branches: [ "main" ]
1111

12+
permissions:
13+
contents: read
1214
jobs:
1315

1416
build:

0 commit comments

Comments
 (0)