Skip to content

Commit d06525d

Browse files
committed
Pin Trivy action to its latest tagged release, 0.26.0
We prefer stability in these checks. Dependabot will inform us when there are newer releases. See: https://github.com/aquasecurity/trivy-action/releases
1 parent 04fbe96 commit d06525d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/trivy.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121

2222
# Report success only when detected licenses are listed in [/trivy.yaml].
2323
- name: Scan licenses
24-
uses: aquasecurity/trivy-action@master
24+
uses: aquasecurity/trivy-action@0.26.0
2525
env:
2626
TRIVY_DEBUG: true
2727
with:
@@ -46,7 +46,7 @@ jobs:
4646
# and is a convenience/redundant effort for those who prefer to
4747
# read logs and/or if anything goes wrong with the upload.
4848
- name: Log all detected vulnerabilities
49-
uses: aquasecurity/trivy-action@master
49+
uses: aquasecurity/trivy-action@0.26.0
5050
with:
5151
scan-type: filesystem
5252
hide-progress: true
@@ -58,7 +58,7 @@ jobs:
5858
# - https://docs.github.com/en/code-security/code-scanning/integrating-with-code-scanning/uploading-a-sarif-file-to-github
5959
# - https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning
6060
- name: Report actionable vulnerabilities
61-
uses: aquasecurity/trivy-action@master
61+
uses: aquasecurity/trivy-action@0.26.0
6262
with:
6363
scan-type: filesystem
6464
ignore-unfixed: true

0 commit comments

Comments
 (0)