Skip to content

Commit a5f544a

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

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/golangci_lint.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ on: [pull_request]
55
jobs:
66
detect-modules:
77
runs-on: ubuntu-latest
8+
permissions:
9+
contents: read
810
outputs:
911
modules: ${{ steps.set-modules.outputs.modules }}
1012
steps:

0 commit comments

Comments
 (0)