Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/stefan-niedermann/nextcloud-notes.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Niedermann <info@niedermann.it>2022-04-15 13:14:45 +0300
committerStefan Niedermann <info@niedermann.it>2022-04-15 13:14:45 +0300
commit70c08a7aa0b3a7484d4f1c6a7bd5b7562663a0f8 (patch)
treed55c2b9765e57fec31c45251ba19e4f6f7656ddc
parent8313516d836fba8eead589e0edc4cba77674861f (diff)
Move CodeQL analysis to own workflow
Signed-off-by: Stefan Niedermann <info@niedermann.it>
-rw-r--r--.github/workflows/android.yml15
-rw-r--r--.github/workflows/codeql.yml25
2 files changed, 25 insertions, 15 deletions
diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml
index 8b89de6e..a994c5c0 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 --stacktrace
- - 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 00000000..e37a4d05
--- /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