Skip to content

Commit dbbd7e2

Browse files
authored
Merge pull request #1214 from francbartoli/patch-1
Pin trivy action version to a safe version before the incident CVE-20…
2 parents 9b9afc9 + 856e31d commit dbbd7e2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/vulnerabilities.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- name: Checkout pycsw
2525
uses: actions/checkout@master
2626
- name: Scan vulnerabilities with trivy
27-
uses: aquasecurity/trivy-action@master
27+
uses: aquasecurity/trivy-action@v0.35.0
2828
with:
2929
scan-type: fs
3030
exit-code: 1
@@ -37,7 +37,7 @@ jobs:
3737
run: |
3838
docker buildx build -t ${{ github.repository }}:${{ github.sha }} --platform linux/amd64 --no-cache -f Dockerfile .
3939
- name: Scan locally built Docker image for vulnerabilities with trivy
40-
uses: aquasecurity/trivy-action@master
40+
uses: aquasecurity/trivy-action@v0.35.0
4141
with:
4242
scan-type: image
4343
exit-code: 1

0 commit comments

Comments
 (0)