Skip to content

Commit d954af9

Browse files
authored
Fossa scanning workflow (4.x) (#1578)
1 parent 0a7b1c8 commit d954af9

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/dep-lic-scan.yaml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Dependency and License Scan
2+
on:
3+
push:
4+
branches:
5+
- '4.x'
6+
- '3.x'
7+
paths-ignore:
8+
- 'manual/**'
9+
- 'faq/**'
10+
- 'upgrade_guide/**'
11+
- 'changelog/**'
12+
jobs:
13+
scan-repo:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- name: Check out code
17+
uses: actions/checkout@v2
18+
- name: Install Fossa CLI
19+
run: |
20+
curl -H 'Cache-Control: no-cache' https://raw.githubusercontent.com/fossas/fossa-cli/master/install-latest.sh | bash -s -- -b .
21+
- name: Scan for dependencies and licenses
22+
run: |
23+
FOSSA_API_KEY=${{ secrets.FOSSA_PUSH_ONLY_API_KEY }} ./fossa analyze

0 commit comments

Comments
 (0)