Skip to content

Commit 18aca5f

Browse files
ci(.github): add fossa.yml
Signed-off-by: Vaughn Dice <[email protected]> Co-authored-by: Kate Goldenring <[email protected]>
1 parent dd6b7b7 commit 18aca5f

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.github/workflows/fossa.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: fossa
2+
on:
3+
push:
4+
branches:
5+
- main
6+
tags:
7+
- v*
8+
pull_request:
9+
branches:
10+
- main
11+
workflow_dispatch: {}
12+
13+
permissions: {}
14+
15+
jobs:
16+
fossa-scan:
17+
if: github.repository_owner == 'spinframework' # FOSSA is not intended to run on forks.
18+
runs-on: ubuntu-latest
19+
permissions:
20+
contents: read
21+
steps:
22+
- name: "Checkout code"
23+
uses: actions/checkout@v4
24+
25+
- name: "Run FOSSA Scan"
26+
uses: fossas/[email protected] # Use a specific version if locking is preferred
27+
with:
28+
api-key: ${{ secrets.FOSSA_API_KEY }}
29+
run-tests: true

0 commit comments

Comments
 (0)