diff options
author | Hubert Kario <hkario@redhat.com> | 2023-02-28 13:27:53 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-28 13:27:53 +0100 |
commit | cd5ac4fe5e83ac61c7531a99adfa8b025f91acfe (patch) | |
tree | 68c3c71aee97de39b31b093a2378c4a702171237 | |
parent | 02cc6833a90573e1cd27de1b610d330480022dbc (diff) | |
parent | 0cdde88b6ffc208ecf20d5a5f39e3577d925445c (diff) | |
download | ecdsa-cd5ac4fe5e83ac61c7531a99adfa8b025f91acfe.tar.gz |
Merge pull request #309 from lgtm-migrator/codeql
Add CodeQL workflow for GitHub code scanning
-rw-r--r-- | .github/workflows/codeql.yml | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml new file mode 100644 index 0000000..c671375 --- /dev/null +++ b/.github/workflows/codeql.yml @@ -0,0 +1,41 @@ +name: "CodeQL" + +on: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + schedule: + - cron: "59 21 * * 0" + +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 + uses: actions/checkout@v3 + + - name: Initialize CodeQL + uses: github/codeql-action/init@v2 + with: + languages: ${{ matrix.language }} + queries: +security-and-quality + + - name: Autobuild + uses: github/codeql-action/autobuild@v2 + + - name: Perform CodeQL Analysis + uses: github/codeql-action/analyze@v2 + with: + category: "/language:${{ matrix.language }}" |