Skip to content

Commit dacda03

Browse files
authored
Create mobsf.yml
1 parent 3c8cc3a commit dacda03

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/mobsf.yml

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: mobsfscan sarif
2+
on:
3+
push:
4+
branches: [ master, main ]
5+
pull_request:
6+
branches: [ master, main ]
7+
8+
jobs:
9+
mobsfscan:
10+
runs-on: ubuntu-latest
11+
name: mobsfscan code scanning
12+
steps:
13+
- name: Checkout the code
14+
uses: actions/[email protected]
15+
- uses: actions/[email protected]
16+
with:
17+
python-version: '3.12'
18+
- name: mobsfscan
19+
uses: MobSF/mobsfscan@main
20+
with:
21+
args: '. --sarif --output results.sarif || true'
22+
- name: Upload mobsfscan report
23+
uses: github/codeql-action/upload-sarif@v2
24+
with:
25+
sarif_file: results.sarif

0 commit comments

Comments
 (0)