Skip to content

Commit b5a1e14

Browse files
authored
Add condition to run safety checks only for non-forked pull requests (#742)
1 parent dec83d8 commit b5a1e14

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ jobs:
4040
make check-codestyle
4141
4242
- name: Run safety checks
43+
if: github.repository == 'nvuillam/github-dependents-info' && (github.event_name != 'pull_request' || github.event.pull_request.head.repo.fork == false)
4344
env:
4445
SAFETY_API_KEY: ${{ secrets.SAFETY_API_KEY }}
4546
run: |

0 commit comments

Comments
 (0)