Skip to content

Commit

Permalink
fix CodeQL:Unpinned tag for a non-immutable Action in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
aceld committed Dec 18, 2024
1 parent 7834b7c commit d7e9050
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/reviewdog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- name: Check out code into the Go module directory
uses: actions/checkout@v3
- name: golangci-lint
uses: reviewdog/action-golangci-lint@v2
uses: reviewdog/action-golangci-lint@v2.7.0

Check warning

Code scanning / CodeQL

Unpinned tag for a non-immutable Action in workflow Medium

Unpinned 3rd party Action 'reviewdog' step
Uses Step
uses 'reviewdog/action-golangci-lint' with ref 'v2.7.0', not a pinned commit hash
with:
github_token: ${{ secrets.github_token }}
# Change reviewdog reporter if you need [github-pr-check,github-check,github-pr-review].
Expand Down

0 comments on commit d7e9050

Please sign in to comment.