Skip to content

Commit a880e53

Browse files
authored
Merge pull request #3061 from github/mbg/cq/analysis-kinds-input
Add `analysis-kinds` input
2 parents 046c593 + d61a10a commit a880e53

22 files changed

+197
-39
lines changed

init/action.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,19 @@ inputs:
4242
your workflow between the `init` and `analyze` steps. Available for all
4343
compiled languages.
4444
required: false
45+
analysis-kinds:
46+
description: >-
47+
[Internal] A comma-separated list of analysis kinds to enable. This input is intended for
48+
internal-use only at this time and the behaviour is subject to changes. Some features may
49+
not be available depending on which analysis kinds are enabled.
50+
51+
Available options are:
52+
53+
- `code-scanning`: The default, security-focused analysis.
54+
- `code-quality`: Analysis focused on code quality. This must be enabled in conjunction
55+
with `code-scanning`.
56+
default: 'code-scanning'
57+
required: true
4558
token:
4659
description: GitHub token to use for authenticating with this instance of GitHub. To download custom packs from multiple registries, use the registries input.
4760
default: ${{ github.token }}

lib/analyses.js

Lines changed: 26 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/analyses.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/analyses.test.js

Lines changed: 31 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/analyses.test.js.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/config-utils.js

Lines changed: 12 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/config-utils.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/config-utils.test.js

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/config-utils.test.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/init-action.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)