libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From to...@apache.org
Subject [libcloud] 01/02: Add workflow for codeql analysis.
Date Sat, 23 Jan 2021 10:54:38 GMT
This is an automated email from the ASF dual-hosted git repository.

tomaz pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/libcloud.git

commit 86cce34be38ba7afe3578508ce4bcac5c8063dbc
Author: Tomaz Muraus <tomaz@tomaz.me>
AuthorDate: Sat Jan 23 11:41:35 2021 +0100

    Add workflow for codeql analysis.
---
 .github/workflows/codeql-analysis.yml | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml
new file mode 100644
index 0000000..0faa20f
--- /dev/null
+++ b/.github/workflows/codeql-analysis.yml
@@ -0,0 +1,35 @@
+name: "CodeQL Analysis"
+
+on:
+  push:
+    branches: [ trunk, codesql_scan ]
+  pull_request:
+    # The branches below must be a subset of the branches above
+    branches: [ trunk, codesql_scan ]
+  schedule:
+    - cron: '23 15 * * 3'
+
+jobs:
+  analyze:
+    name: Analyze
+    runs-on: ubuntu-latest
+
+    strategy:
+      fail-fast: false
+      matrix:
+        language: [ 'python' ]
+
+    steps:
+    - name: Checkout repository
+      uses: actions/checkout@v2
+
+    - name: Initialize CodeQL
+      uses: github/codeql-action/init@v1
+      with:
+        languages: ${{ matrix.language }}
+
+    - name: Autobuild
+      uses: github/codeql-action/autobuild@v1
+
+    - name: Perform CodeQL Analysis
+      uses: github/codeql-action/analyze@v1


Mime
View raw message