From e597217eabcae76226b0310dd1b0c04495c63552 Mon Sep 17 00:00:00 2001 From: Albin Date: Wed, 22 Nov 2023 11:13:32 +0100 Subject: [PATCH] Add static analysis tool mobsfscan --- .github/workflows/android-mobsfscan.yml | 28 +++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/android-mobsfscan.yml 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