Skip to content

Commit

Permalink
Merge pull request #338 from step-security-bot/stepsecurity_remediati…
Browse files Browse the repository at this point in the history
…on_1737991805

[StepSecurity] ci: Harden GitHub Actions
  • Loading branch information
jocgir authored Jan 27, 2025
2 parents 46649f9 + cf31bf2 commit 0840249
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ jobs:
name: Build
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@v2
with:
egress-policy: audit

- name: Setup Go
uses: actions/setup-go@v5
with:
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ jobs:
contents: write
pull-requests: write
steps:
- name: Harden Runner
uses: step-security/harden-runner@v2
with:
egress-policy: audit

- name: Checkout Repository
uses: actions/checkout@v4
with:
Expand Down

0 comments on commit 0840249

Please sign in to comment.