Skip to content

Commit

Permalink
fix(ci): disable dependency review in forks (#560)
Browse files Browse the repository at this point in the history
Correction to ensure that the “Dependency Review” job is only run in
the project's original repository.

Fix: 8cb9fc2.
Fix: 9fe355a.

Signed-off-by: Claudio André <[email protected]>
  • Loading branch information
claudioandre-br committed Nov 15, 2024
1 parent 886e499 commit 5fe6195
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/dependency-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@ permissions:

jobs:
dependency-review:
if: ${{ github.repository == 'openwall/john-packages' }}
runs-on: ubuntu-latest
name: dependency-review

if: github.repository == 'openwall/john-packages'
steps:
- name: Harden Runner
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
Expand Down

0 comments on commit 5fe6195

Please sign in to comment.