diff --git a/.github/workflows/android-mobsfscan.yml b/.github/workflows/android-mobsfscan.yml new file mode 100644 index 000000000000..0032b653ff0e --- /dev/null +++ b/.github/workflows/android-mobsfscan.yml @@ -0,0 +1,28 @@ +--- +name: Android - mobsfscan +on: + pull_request: + paths: + - .github/workflows/android-mobsfscan.yml + - android/** + workflow_dispatch: +jobs: + mobsfscan: + name: mobsfscan code scanning + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v3 + + - name: mobsfscan + uses: MobSF/mobsfscan@main + with: + args: '--type android --html --output mobsfscan-report.html android' + + - name: Upload report + uses: actions/upload-artifact@v3 + with: + name: mobsfscan-report + path: mobsfscan-report.html + if-no-files-found: error + retention-days: 7