GH-500 · Question #57
The autobuild step in the CodeQL workflow has failed. What should you do?
The correct answer is C. Remove the autobuild step from your code scanning workflow and add specific build steps. If auto build fails (which attempts to automatically detect how to build your project), you shoulddisable itin your workflow andreplace it with explicit build commands, using steps like run: make or run: ./gradlew build. This ensures CodeQL can still extract and analyze the…
Question
The autobuild step in the CodeQL workflow has failed. What should you do?
Options
- ACompile the source code.
- BUse CodeQL, which implicitly detects the supported languages in your code base.
- CRemove the autobuild step from your code scanning workflow and add specific build steps.
- DRemove specific build steps.
How the community answered
(23 responses)- B4% (1)
- C83% (19)
- D13% (3)
Explanation
If auto build fails (which attempts to automatically detect how to build your project), you shoulddisable itin your workflow andreplace it with explicit build commands, using steps like run: make or run: ./gradlew build. This ensures CodeQL can still extract and analyze the code correctly.
Topics
Community Discussion
No community discussion yet for this question.