diff options
author | LGTM Migrator <lgtm-migrator@users.noreply.github.com> | 2022-11-09 07:45:48 +0000 |
---|---|---|
committer | LGTM Migrator <lgtm-migrator@users.noreply.github.com> | 2022-11-09 07:45:48 +0000 |
commit | 0cdde88b6ffc208ecf20d5a5f39e3577d925445c (patch) | |
tree | 0c8946835f099077abbaa963d2dbdf4de6af3053 | |
parent | 644412d7a27503fb682e7201c57343f3c43b6640 (diff) | |
download | ecdsa-0cdde88b6ffc208ecf20d5a5f39e3577d925445c.tar.gz |
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 }}" |