Skip to content
This repository was archived by the owner on Apr 8, 2025. It is now read-only.

Commit 43181a0

Browse files
[StepSecurity] ci: Harden GitHub Actions (#210)
Signed-off-by: StepSecurity Bot <[email protected]>
1 parent 8b0cab2 commit 43181a0

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Diff for: .github/workflows/static-scan.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
name: Hadolint
4242
steps:
4343
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
44-
- uses: hadolint/[email protected]
44+
- uses: hadolint/hadolint-action@54c9adbab1582c2ef04b2016b760714a4bfde3cf # v3.1.0
4545
name: Run Hadolint
4646
with:
4747
dockerfile: ./docker/userspacecni/Dockerfile

Diff for: .github/workflows/trivy-testpmd.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,6 @@ jobs:
4242
severity: 'CRITICAL,HIGH'
4343

4444
- name: Upload Trivy scan results to GitHub Security tab
45-
uses: github/codeql-action/upload-sarif@v2
45+
uses: github/codeql-action/upload-sarif@66b90a5db151a8042fa97405c6cf843bbe433f7b # v2.22.7
4646
with:
4747
sarif_file: 'testpmd-trivy-results.sarif'

Diff for: .github/workflows/trivy.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,6 @@ jobs:
4444
severity: 'CRITICAL,HIGH'
4545

4646
- name: Upload Trivy scan results to GitHub Security tab
47-
uses: github/codeql-action/upload-sarif@v2
47+
uses: github/codeql-action/upload-sarif@66b90a5db151a8042fa97405c6cf843bbe433f7b # v2.22.7
4848
with:
4949
sarif_file: 'trivy-results.sarif'

0 commit comments

Comments
 (0)