Skip to content

Commit e2ec175

Browse files
authored
ci: don't run FOSSA job in forks (#4285)
1 parent aa46ac7 commit e2ec175

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/scan.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +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'
2022
runs-on: ubuntu-latest
2123
steps:
2224
- name: Checkout

0 commit comments

Comments
 (0)