From ef77e1451179ce8758b4a44b4ca960f0d85f6153 Mon Sep 17 00:00:00 2001 From: siddharth Date: Sun, 27 Jun 2021 01:05:28 -0400 Subject: .github/workflows: add codeql.yml --- .github/workflows/codeql.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 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 0000000..e89f8f5 --- /dev/null +++ b/.github/workflows/codeql.yml @@ -0,0 +1,29 @@ +name: "codeql" +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + schedule: + - cron: '28 13 * * 5' +jobs: + analyze: + name: analyze + runs-on: ubuntu-latest + permissions: + actions: read + contents: read + security-events: write + 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: perform codeql analysis + uses: github/codeql-action/analyze@v1 -- cgit v1.2.3