GH-500 · Question #70
When using the advanced CodeQL code scanning setup, what is the name of the workflow file?
The correct answer is B. codeql.yml. When you enable the advanced CodeQL code scanning setup on GitHub (as opposed to the default/automatic setup), GitHub generates a workflow file named codeql.yml stored in .github/workflows/. This file defines the CodeQL analysis configuration, including languages, build steps…
Question
When using the advanced CodeQL code scanning setup, what is the name of the workflow file?
Options
- Acodeql-scan.yml
- Bcodeql.yml
- Ccodeql-workflow.yml
- Dcodeql-config.yml
How the community answered
(32 responses)- A3% (1)
- B94% (30)
- D3% (1)
Explanation
When you enable the advanced CodeQL code scanning setup on GitHub (as opposed to the default/automatic setup), GitHub generates a workflow file named codeql.yml stored in .github/workflows/. This file defines the CodeQL analysis configuration, including languages, build steps, and trigger events. The other filenames listed (codeql-scan.yml, codeql-workflow.yml, codeql-config.yml) are not the standard names GitHub uses for this generated workflow.
Topics
Community Discussion
No community discussion yet for this question.