Skip to content

Commit fb8f9e6

Browse files
committed
fixed c/c++ codeql issue
fixed c/c++ codeql issue by setting autobuild to manual
1 parent 570a85f commit fb8f9e6

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

.github/workflows/codeql.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
- language: actions
4747
build-mode: none
4848
- language: c-cpp
49-
build-mode: autobuild
49+
build-mode: manual
5050
- language: javascript-typescript
5151
build-mode: none
5252
- language: python
@@ -91,12 +91,8 @@ jobs:
9191
- if: matrix.build-mode == 'manual'
9292
shell: bash
9393
run: |
94-
echo 'If you are using a "manual" build mode for one or more of the' \
95-
'languages you are analyzing, replace this with the commands to build' \
96-
'your code, for example:'
97-
echo ' make bootstrap'
98-
echo ' make release'
99-
exit 1
94+
# Add your C/C++ build commands here. Example for Makefile:
95+
make
10096
10197
- name: Perform CodeQL Analysis
10298
uses: github/codeql-action/analyze@v3

0 commit comments

Comments
 (0)