Skip to content

Commit a21a27d

Browse files
authored
Merge pull request #2229 from step-security-bot/stepsecurity_remediation_1689189764
[StepSecurity] ci: Harden GitHub Actions
2 parents d619262 + 5caac17 commit a21a27d

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

.github/workflows/automatePR.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ jobs:
1616
actions: write
1717

1818
steps:
19+
- name: Harden Runner
20+
uses: step-security/harden-runner@55d479fb1c5bcad5a4f9099a5d9f37c8857b2845 # v2.4.1
21+
with:
22+
egress-policy: audit
23+
1924
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
2025
with:
2126
repository: step-security/secure-repo

.github/workflows/scorecards.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,11 @@ jobs:
3131
# actions: read
3232

3333
steps:
34+
- name: Harden Runner
35+
uses: step-security/harden-runner@55d479fb1c5bcad5a4f9099a5d9f37c8857b2845 # v2.4.1
36+
with:
37+
egress-policy: audit
38+
3439
- name: "Checkout code"
3540
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
3641
with:

0 commit comments

Comments
 (0)