Skip to content

Commit 81eb6b2

Browse files
authored
Merge pull request #2108 from github/henrymercer/build-mode-input
Add experimental `build-mode` input
2 parents 483bef1 + b58c2f6 commit 81eb6b2

30 files changed

+223
-54
lines changed

.github/workflows/__build-mode-none.yml

+85
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

init/action.yml

+17
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,23 @@ inputs:
1010
description: |
1111
A comma-separated value of the languages to be analysed e.g. python,javascript
1212
required: false
13+
build-mode:
14+
description: >-
15+
[Experimental, for internal testing only] The build mode that will be used to analyze the language.
16+
This input is only available in single-language analyses.
17+
18+
Available build modes will differ based on the language being analyzed. One of:
19+
20+
- none: The database will be created without building the source code.
21+
Available for all interpreted languages and some compiled languages.
22+
- autobuild: The database will be created by attempting to automatically build the source code.
23+
To use this build mode, ensure that your workflow calls the `autobuild` action
24+
between the `init` and `analyze` steps.
25+
Available for all compiled languages.
26+
- manual: The database will be created by building the source code using a manually specified
27+
build command. To use this build mode, specify manual build steps in your workflow
28+
between the `init` and `analyze` steps. Available for all compiled languages.
29+
required: false
1330
token:
1431
description: GitHub token to use for authenticating with this instance of GitHub. To download custom packs from multiple registries, use the registries input.
1532
default: ${{ github.token }}

lib/codeql.js

+12-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/codeql.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/config-utils.js

+4-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/config-utils.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/config-utils.test.js

+3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/config-utils.test.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/init-action.js

+2-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)