Skip to content

Commit

Permalink
Merge pull request #12 from step-security-bot/stepsecurity_remediatio…
Browse files Browse the repository at this point in the history
…n_1737991165

[StepSecurity] ci: Harden GitHub Actions
  • Loading branch information
JPLachance authored Jan 30, 2025
2 parents 70ac761 + d519743 commit e6adbd6
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,19 @@ on:
- main
pull_request:
name: CI
permissions:
contents: read

jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@v2
with:
egress-policy: audit

- name: Checkout code
uses: actions/checkout@v4
- name: Init Hermit
Expand Down

0 comments on commit e6adbd6

Please sign in to comment.