Skip to content

Commit e7b0731

Browse files
vdicekate-goldenringlann
committed
ci(.github): add fossa.yml and .fossa.yml config
Signed-off-by: Vaughn Dice <vaughn.dice@fermyon.com> Co-authored-by: Kate Goldenring <kate.goldenring@fermyon.com> Co-authored-by: Lann <github-lann@lannbox.com>
1 parent 255ed67 commit e7b0731

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/fossa.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: fossa
2+
on:
3+
push:
4+
branches:
5+
- main
6+
- v*
7+
pull_request:
8+
branches:
9+
- main
10+
workflow_dispatch:
11+
12+
jobs:
13+
fossa-scan:
14+
# Don't attempt to run FOSSA on forks or on PRs from forks (no access to GH secrets)
15+
if: ${{ github.repository_owner == 'spinframework' && !github.event.pull_request.head.repo.fork }}
16+
runs-on: ubuntu-latest
17+
permissions:
18+
contents: read
19+
steps:
20+
- uses: actions/checkout@v4
21+
22+
- name: "Run FOSSA Scan"
23+
uses: fossas/fossa-action@v1.7.0
24+
with:
25+
api-key: ${{ secrets.FOSSA_API_KEY }}

0 commit comments

Comments
 (0)