diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 6d7fb64c0..488317edf 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -110,9 +110,13 @@ jobs: java-version: '23' - name: Remove ignored paths - if: ${{ github.event_name == 'pull-request' }} + if: ${{ github.event_name == 'pull_request' }} run: rm -f ${{ matrix.paths-ignore }} + - name: Remove Hack if C++ + if: ${{ matrix.language == 'cpp' }} + run: rm -rf archive/h/hack + # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL uses: github/codeql-action/init@v3