From 52d318334511a78d6e4c452704b1ae47ecac5d86 Mon Sep 17 00:00:00 2001 From: sinadarbouy Date: Sat, 8 Jun 2024 19:44:21 +0200 Subject: [PATCH] added rule to only run job if its from current github repository --- .github/workflows/vulnerability-comparison.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/vulnerability-comparison.yaml b/.github/workflows/vulnerability-comparison.yaml index 1d3f0bfe..e1eba003 100644 --- a/.github/workflows/vulnerability-comparison.yaml +++ b/.github/workflows/vulnerability-comparison.yaml @@ -11,6 +11,7 @@ env: jobs: vulnerability-comparison: + if: github.event.pull_request.head.repo.full_name == github.repository runs-on: ubuntu-latest permissions: pull-requests: write