Skip to content

Commit da0ea8a

Browse files
authored
Create scanoss.yml
1 parent 057e605 commit da0ea8a

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

Diff for: .github/workflows/scanoss.yml

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: SCANOSS CI Scan
2+
3+
on:
4+
push:
5+
branches: [ "main" ]
6+
pull_request:
7+
branches: [ "main" ]
8+
9+
jobs:
10+
11+
build:
12+
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- uses: actions/checkout@v3
17+
18+
- name: Scan
19+
run: docker run -v "$(pwd)":"/scanoss" ghcr.io/scanoss/scanoss-py scan --output output.json .
20+
21+
- uses: actions/upload-artifact@v3
22+
with:
23+
name: output.json
24+
path: output.json

0 commit comments

Comments
 (0)