Skip to content

Commit d78c798

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

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/golangci_lint.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ jobs:
4848
golangci-lint-result:
4949
needs: golangci-lint
5050
runs-on: ubuntu-latest
51+
permissions: {}
5152
if: ${{ always() && needs.golangci-lint.result != 'skipped'}}
5253
steps:
5354
- if: ${{ needs.golangci-lint.result != 'success' }}

0 commit comments

Comments
 (0)