From 0ce057da8c66c9c50df6f23352c7356603674102 Mon Sep 17 00:00:00 2001 From: Panos Chatzopoulos Date: Tue, 27 Feb 2024 09:50:18 +0100 Subject: [PATCH] Enable merge queues --- .github/workflows/codeql-analysis.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index edbb094a..f6b488d8 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -6,6 +6,8 @@ on: pull_request: # The branches below must be a subset of the branches above branches: [main] + merge_group: + branches: [main] schedule: - cron: '0 15 * * 4' @@ -32,6 +34,10 @@ jobs: - run: git checkout HEAD^2 if: ${{ github.event_name == 'pull_request' }} + # Do the same as above for merge_group event + - run: git checkout HEAD^2 + if: ${{ github.event_name == 'merge_group' }} + # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL uses: github/codeql-action/init@v3