Skip to content

Commit

Permalink
added rule to only run job if its from current github repository
Browse files Browse the repository at this point in the history
  • Loading branch information
sinadarbouy committed Jun 8, 2024
1 parent 21d5a82 commit 52d3183
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/vulnerability-comparison.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 52d3183

Please sign in to comment.