Skip to content

Commit 8ebc536

Browse files
authored
Add push trigger for CodeQL analysis workflow (#7471)
1 parent ee034a7 commit 8ebc536

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

.github/workflows/codeql-analysis.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ on:
1212
paths:
1313
- ".github/workflows/codeql-analysis.yml"
1414
workflow_dispatch:
15+
push:
16+
branches:
17+
- main
1518

1619
concurrency:
1720
group: ${{ github.workflow }}-${{ github.ref }}
@@ -75,13 +78,13 @@ jobs:
7578
git config --global --add safe.directory /__w/CCF/CCF
7679
mkdir build
7780
cd build
78-
cmake -DCMAKE_BUILD_TYPE=Debug -DBUILD_TESTS=OFF ..
81+
cmake -DCMAKE_BUILD_TYPE=Debug -GNinja -DBUILD_TESTS=OFF ..
7982
shell: bash
8083

8184
- run: |
8285
cd build
83-
make -j16
84-
name: Run Make
86+
ninja
87+
name: Run ninja
8588
8689
- name: Perform CodeQL Analysis
8790
uses: github/codeql-action/analyze@v4

0 commit comments

Comments
 (0)