From 5fe61957ad684f0e7cdbc6c5488ebcbc12f040fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Claudio=20Andr=C3=A9?= Date: Thu, 14 Nov 2024 22:18:43 -0300 Subject: [PATCH] fix(ci): disable dependency review in forks (#560) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Correction to ensure that the “Dependency Review” job is only run in the project's original repository. Fix: 8cb9fc22f6582413bf053552ce651b636a3c5814. Fix: 9fe355a555cd70a4538a3a1d9fda80b5351591b2. Signed-off-by: Claudio André --- .github/workflows/dependency-review.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/dependency-review.yml b/.github/workflows/dependency-review.yml index fdaf66ef..c0face45 100644 --- a/.github/workflows/dependency-review.yml +++ b/.github/workflows/dependency-review.yml @@ -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