Skip to content

Commit 3d13f97

Browse files
[StepSecurity] ci: Harden GitHub Actions (#5)
Signed-off-by: StepSecurity Bot <[email protected]>
1 parent 681a63b commit 3d13f97

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,16 @@ jobs:
1313
runs-on: ubuntu-latest
1414

1515
steps:
16+
- name: Harden the runner (Audit all outbound calls)
17+
uses: step-security/harden-runner@ec9f2d5744a09debf3a187a3f4f675c53b671911 # v2.13.0
18+
with:
19+
egress-policy: audit
20+
1621
- name: Checkout repository
17-
uses: actions/checkout@v4
22+
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
1823

1924
- name: Setup Node.js
20-
uses: actions/setup-node@v4
25+
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
2126
with:
2227
node-version: "20"
2328
cache: "npm"

0 commit comments

Comments
 (0)