Skip to content

Commit e7dde9b

Browse files
[StepSecurity] ci: Harden GitHub Actions (#179)
1 parent f843b6b commit e7dde9b

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/dependabot-auto-merge.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,14 @@ jobs:
1313
runs-on: ubuntu-latest
1414
if: ${{ github.actor == 'dependabot[bot]' }}
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: Dependabot metadata
1722
id: metadata
18-
uses: dependabot/fetch-metadata@v2.4.0
23+
uses: dependabot/fetch-metadata@08eff52bf64351f401fb50d4972fa95b9f2c2d1b # v2.4.0
1924
with:
2025
github-token: "${{ secrets.GITHUB_TOKEN }}"
2126

0 commit comments

Comments
 (0)