diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 7256c1f0d..0bd26ec75 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -13,7 +13,7 @@ name: "CodeQL" on: push: - branches: [ "release-next" ] + branches: [ "release-next", "*codeql*" ] schedule: - cron: '36 20 * * 3' @@ -23,6 +23,7 @@ concurrency: cancel-in-progress: true jobs: + analyze: name: Analyze runs-on: ubuntu-latest @@ -44,6 +45,11 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 + - name: Install Go + uses: actions/setup-go@v5 + with: + go-version: '1.22.x' + # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL uses: github/codeql-action/init@v3