@@ -29,6 +29,24 @@ inputs:
2929 For more information, see
3030 https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/customizing-your-advanced-setup-for-code-scanning#changing-the-languages-that-are-analyzed.
3131 required : false
32+ skip-if-draft :
33+ description : >-
34+ When true and the current event confirms this is a draft pull request, skip CodeQL before
35+ downloading tools or initializing a database. The workflow must run again on `ready_for_review`
36+ to analyze the PR once it is marked ready. For a `dynamic` workflow, the workflow generator can
37+ set `CODE_SCANNING_IS_DRAFT=true` to trigger the same early skip. If draft state is unavailable,
38+ analysis continues.
39+ required : false
40+ default : ' false'
41+ skip-if-no-language-changes :
42+ description : >-
43+ When true for a single explicitly requested built-in language, skip CodeQL before tool download
44+ and database initialization if the complete pull-request diff contains no relevant source or
45+ language configuration files. Unknown, incomplete, or unrecognized diffs fail open and run the
46+ full analysis. This uses the complete language database when relevant changes exist; it does
47+ not restrict analysis to changed files.
48+ required : false
49+ default : ' false'
3250 build-mode :
3351 description : >-
3452 The build mode that will be used to analyze the language. This input is only available when
@@ -176,6 +194,10 @@ outputs:
176194 description : The path of the CodeQL binary used for analysis
177195 codeql-version :
178196 description : The version of the CodeQL binary used for analysis
197+ analysis-skipped :
198+ description : Whether analysis was intentionally skipped before CodeQL initialization
199+ analysis-skip-reason :
200+ description : Why analysis was intentionally skipped, if applicable
179201runs :
180202 using : node24
181203 main : ' ../lib/init-entry.js'
0 commit comments