From f51e89b4f567b375a8c1b13cb5d3a69ffbe70102 Mon Sep 17 00:00:00 2001 From: micafer Date: Tue, 30 Nov 2021 09:47:38 +0100 Subject: [PATCH] Add CodeQL test #1133 --- .github/workflows/codeql.yml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .github/workflows/codeql.yml diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml new file mode 100644 index 000000000..81d88de10 --- /dev/null +++ b/.github/workflows/codeql.yml @@ -0,0 +1,34 @@ +name: "CodeQL Analysis" + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + + analyze: + name: Analyze + runs-on: ubuntu-latest + timeout-minutes: 12 + + 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