Browse Source

devops: update codeql report

Roman Kunitskiy 3 years ago
parent
commit
fee34477e2

+ 3 - 3
.github/actions/java-codeql/action.yml

@@ -12,12 +12,12 @@ runs:
 
     # Initializes the CodeQL tools for scanning.
     - name: Initialize CodeQL
-      uses: github/codeql-action/init@v1
+      uses: github/codeql-action/init@v2
       with:
         languages: 'java'
 
     - name: Autobuild
-      uses: github/codeql-action/autobuild@v1
+      uses: github/codeql-action/autobuild@v2
 
     - name: Perform CodeQL Analysis
-      uses: github/codeql-action/analyze@v1
+      uses: github/codeql-action/analyze@v2

+ 3 - 3
.github/codeql-analysis.yml

@@ -1,9 +1,9 @@
 
 name: "CodeQL"
 
-on:
-  schedule:
-    - cron: '0 15 * * *' 
+on: push
+  # schedule:
+  #   - cron: '0 15 * * *' 
 
 jobs:
 

+ 26 - 0
.github/workflows/codeql-analysis.yml

@@ -0,0 +1,26 @@
+
+name: "CodeQL"
+
+on: push
+  # schedule:
+  #   - cron: '0 15 * * *' 
+
+jobs:
+
+  analyze:
+    name: Analyze
+    
+    runs-on: ubuntu-latest
+
+    permissions:
+      actions: read
+      contents: read
+      security-events: write
+
+    steps:
+    - name: Checkout repository
+      uses: actions/checkout@v2
+      with:
+        fetch-depth: 2
+
+    - uses: dbeaver/dbeaver/.github/actions/java-codeql@devel