-
Notifications
You must be signed in to change notification settings - Fork 1
Bump trakx/github-actions from 10.1.2 to 10.2.1 #177
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: dev
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -14,7 +14,7 @@ | |||||
| steps: | ||||||
| - name: Test and cover solutions | ||||||
| id: test | ||||||
| uses: trakx/github-actions/test-dotnet@v10.1.2 | ||||||
| uses: trakx/github-actions/test-dotnet@v10.2.1 | ||||||
|
Check warning on line 17 in .github/workflows/test.yml
|
||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The issue identified by the Semgrep linter is related to the use of a GitHub Action that is sourced from a third-party repository. The action is currently pinned to a version tag ( To fix the issue, you should replace the version tag with the full-length commit SHA of the action you intend to use. Assuming you have the commit SHA (e.g.,
Suggested change
Make sure to replace This comment was generated by an experimental AI tool. |
||||||
| with: | ||||||
| packageReadonlyPat: ${{secrets.TRAKX_BOT_READONLY_PAT}} | ||||||
| codacyToken: ${{secrets.CODACY_TOKEN}} | ||||||
|
|
||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The issue identified by the Semgrep linter is that the GitHub Action is being referenced by a version tag (
v10.2.1) instead of a full-length commit SHA. This can lead to security vulnerabilities because the action could change if the repository owner updates the tagged version. Pinning to a specific commit SHA ensures that the action remains immutable and prevents unintentional changes that could introduce vulnerabilities or bugs.To fix this issue, you should replace the version tag with the full commit SHA of the action you want to use.
Here's the code suggestion to address the issue:
Make sure to replace
<full-length-commit-sha>with the actual SHA of the commit you want to pin to.This comment was generated by an experimental AI tool.