Skip to content

Commit dd90d7b

Browse files
authored
Modify CodeQL workflow to omit Hack for C++ scan (#4045)
1 parent cc6be96 commit dd90d7b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,9 +110,13 @@ jobs:
110110
java-version: '23'
111111

112112
- name: Remove ignored paths
113-
if: ${{ github.event_name == 'pull-request' }}
113+
if: ${{ github.event_name == 'pull_request' }}
114114
run: rm -f ${{ matrix.paths-ignore }}
115115

116+
- name: Remove Hack if C++
117+
if: ${{ matrix.language == 'cpp' }}
118+
run: rm -rf archive/h/hack
119+
116120
# Initializes the CodeQL tools for scanning.
117121
- name: Initialize CodeQL
118122
uses: github/codeql-action/init@v3

0 commit comments

Comments
 (0)