Skip to content

Commit b427371

Browse files
authored
ci: don't run FOSSA actions for pull requests (#4352)
1 parent e82e897 commit b427371

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/scan.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ permissions:
1717
jobs:
1818
fossa:
1919
name: FOSSA
20-
# FOSSA API key secret is not available in forks
21-
if: github.secret_source != 'None'
20+
# Needs access to the FOSSA API key secret, so don't run on pull request events
21+
if: ${{ ! github.event_name == 'pull_request' }}
2222
runs-on: ubuntu-latest
2323
steps:
2424
- name: Checkout

0 commit comments

Comments
 (0)