Skip to content

Commit 9afb516

Browse files
jsf9kfelddy
authored andcommitted
Add the step-security/harden-runner GH Action
This GH Action is being configured to run in audit mode. It should warn us if an Action is reaching out to an unexpected web address, overwriting source code, etc. Co-authored-by: felddy <[email protected]>
1 parent c5e56a2 commit 9afb516

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/dependabot.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ updates:
1818
# - dependency-name: crazy-max/ghaction-github-status
1919
# - dependency-name: hashicorp/setup-terraform
2020
# - dependency-name: mxschmitt/action-tmate
21+
# - dependency-name: step-security/harden-runner
2122
package-ecosystem: github-actions
2223
schedule:
2324
interval: weekly

.github/workflows/build.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ jobs:
1818
name: Run diagnostics
1919
runs-on: ubuntu-latest
2020
steps:
21+
- id: harden-runner
22+
name: Harden the runner
23+
uses: step-security/harden-runner@v2
24+
with:
25+
egress-policy: audit
2126
- id: github-status
2227
name: Check GitHub status
2328
uses: crazy-max/ghaction-github-status@v3

0 commit comments

Comments
 (0)