Skip to content

Commit

Permalink
Merge pull request #2229 from step-security-bot/stepsecurity_remediat…
Browse files Browse the repository at this point in the history
…ion_1689189764

[StepSecurity] ci: Harden GitHub Actions
  • Loading branch information
ashishkurmi committed Jul 12, 2023
2 parents d619262 + 5caac17 commit a21a27d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/automatePR.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ jobs:
actions: write

steps:
- name: Harden Runner
uses: step-security/harden-runner@55d479fb1c5bcad5a4f9099a5d9f37c8857b2845 # v2.4.1
with:
egress-policy: audit

- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
with:
repository: step-security/secure-repo
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/scorecards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@ jobs:
# actions: read

steps:
- name: Harden Runner
uses: step-security/harden-runner@55d479fb1c5bcad5a4f9099a5d9f37c8857b2845 # v2.4.1
with:
egress-policy: audit

- name: "Checkout code"
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
with:
Expand Down

0 comments on commit a21a27d

Please sign in to comment.