From 7f68292be8ec6d694b5f1dac2ad4d71e374fb745 Mon Sep 17 00:00:00 2001 From: Michael Howitz Date: Wed, 8 Jan 2025 08:19:45 +0100 Subject: [PATCH] Try out CodeQL Community Packs --- .github/workflows/codeql.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 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..449302e --- /dev/null +++ b/.github/workflows/codeql.yml @@ -0,0 +1,22 @@ +# Generated from: +# https://github.com/zopefoundation/meta/tree/master/config/pure-python +name: CodeQL + +on: + push: + pull_request: + workflow_dispatch: + +jobs: + codeql: + runs-on: ubuntu-latest + if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name + name: CodeQL + steps: + - uses: actions/checkout@v4 + - name: Initialize CodeQL + uses: github/codeql-action/init@v3 + with: + languages: python + queries: python + packs: githubsecuritylab/codeql-python-extensions,githubsecuritylab/codeql-python-queries