diff --git a/.github/workflows/mobsfscan_sarif.yaml b/.github/workflows/mobsfscan_sarif.yaml new file mode 100644 index 0000000..86cffec --- /dev/null +++ b/.github/workflows/mobsfscan_sarif.yaml @@ -0,0 +1,20 @@ +name: mobsfscan sarif +on: + pull_request: + branches: [ develop ] + +jobs: + mobsfscan: + runs-on: ubuntu-latest + name: mobsfscan code scanning + steps: + - name: Checkout the code + uses: actions/checkout@v2 + - name: mobsfscan + uses: MobSF/mobsfscan@main + with: + args: '. --sarif --output results.sarif || true' + - name: Upload mobsfscan report + uses: github/codeql-action/upload-sarif@v1 + with: + sarif_file: results.sarif \ No newline at end of file