Skip to content

Commit 61cbfe8

Browse files
authored
Apply Security Best Practices to scorecard.yml (#589)
Via [StepSecurity](https://app.stepsecurity.io/secureworkflow).
1 parent 2d10f67 commit 61cbfe8

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/scorecard.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@ jobs:
3333
# actions: read
3434

3535
steps:
36+
- name: Harden the runner (Audit all outbound calls)
37+
uses: step-security/harden-runner@a90bcbc6539c36a85cdfeb73f7e2f433735f215b # v2.15.0
38+
with:
39+
egress-policy: audit
40+
3641
- name: "Checkout code"
3742
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
3843
with:
@@ -73,6 +78,6 @@ jobs:
7378
# Upload the results to GitHub's code scanning dashboard (optional).
7479
# Commenting out will disable upload of results to your repo's Code Scanning dashboard
7580
- name: "Upload to code-scanning"
76-
uses: github/codeql-action/upload-sarif@v3
81+
uses: github/codeql-action/upload-sarif@ae9ef3a1d2e3413523c3741725c30064970cc0d4 # v3.32.5
7782
with:
7883
sarif_file: results.sarif

0 commit comments

Comments
 (0)