diff options
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/android.yml | 15 | ||||
-rw-r--r-- | .github/workflows/codeql.yml | 25 |
2 files changed, 25 insertions, 15 deletions
diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index 00f910d8e..8b9f81c44 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -33,21 +33,6 @@ jobs: - name: Unit tests run: bash ./gradlew test --stacktrace - codeql: - name: CodeQL security scan - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v3 - - name: Initialize CodeQL - uses: github/codeql-action/init@v1 - with: - languages: java - - name: Build debug APK - run: bash ./gradlew assembleDev - - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v1 - apk: name: Generate APK runs-on: ubuntu-latest diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml new file mode 100644 index 000000000..e37a4d05f --- /dev/null +++ b/.github/workflows/codeql.yml @@ -0,0 +1,25 @@ +name: CodeQL security scan + +on: + pull_request: + schedule: + - cron: '0 12 * * *' + +permissions: + contents: read + +jobs: + codeql: + name: CodeQL security scan + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: Initialize CodeQL + uses: github/codeql-action/init@v1 + with: + languages: java + - name: Build debug APK + run: bash ./gradlew assembleDev --stacktrace + - name: Perform CodeQL Analysis + uses: github/codeql-action/analyze@v1
\ No newline at end of file |