summaryrefslogtreecommitdiffhomepage
path: root/.github/workflows/android-static-analysis.yml
blob: 5bc308bbb4aae3df760ae4a419a57a0b4d5e6ba9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
---
name: Android - Static analysis
on:
  workflow_dispatch:
  pull_request:
    paths:
      - .github/workflows/android-static-analysis.yml
      - android/**
  schedule:
    # At 06:20 UTC every day.
    # Notifications for scheduled workflows are sent to the user who last modified the cron
    # syntax in the workflow file. If you update this you must have notifications for
    # Github Actions enabled, so these don't go unnoticed.
    # https://docs.github.com/en/actions/monitoring-and-troubleshooting-workflows/notifications-for-workflow-runs
    - cron: '20 6 * * *'

permissions: {}

jobs:
  mobsfscan:
    name: Code scanning using mobsfscan
    runs-on: ubuntu-22.04
    steps:
      - name: Checkout repository
        uses: actions/checkout@v4
        with:
          submodules: true

      - name: Scan code
        uses: MobSF/mobsfscan@main
        with:
          args: '--type android --config android/config/config.mobsf --exit-warning android'