Skip to content

Commit c4746e7

Browse files
authored
Add gate to prevent attempt to run on fork (#721)
1 parent 4fadd47 commit c4746e7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/pr-license-scan.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ on:
66
jobs:
77
fossa-scan:
88
runs-on: ubuntu-latest
9+
if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository
910
steps:
1011
- uses: actions/checkout@v3
1112
- name: "Run FOSSA Analyze"

0 commit comments

Comments
 (0)