Skip to content

Commit

Permalink
Add recommended hardening
Browse files Browse the repository at this point in the history
  • Loading branch information
LogFlames committed Oct 30, 2024
1 parent aefc62d commit 927927c
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/LockfilePR.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,18 @@ jobs:
contents: write
runs-on: ubuntu-latest
steps:
- uses: step-security/harden-runner@446798f8213ac2e75931c1b0769676d927801858 # v2.10.0
- name: Harden Runner
uses: step-security/harden-runner@446798f8213ac2e75931c1b0769676d927801858 # v2.10.0
with:
egress-policy: audit
disable-sudo: true
egress-policy: block
allowed-endpoints: >
github.com:443
objects.githubusercontent.com:443
raw.githubusercontent.com:443
repo.maven.apache.org:443
repo1.maven.org:443
sh.jbang.dev:443
- name: run maven-lockfile
if: ${{ github.event.pull_request.head.repo.full_name == github.repository }}
uses: chains-project/maven-lockfile@526cd67327ab19c7bd95be6d2d16530d80bf3c9e # v5.2.0
Expand Down

0 comments on commit 927927c

Please sign in to comment.