Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge releases/v3 into releases/v2 #2194

Merged
merged 23 commits into from
Mar 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
8762383
Update changelog and version after v3.24.6
github-actions[bot] Feb 29, 2024
4003485
Update checked-in dependencies
github-actions[bot] Feb 29, 2024
baf3361
Merge pull request #2177 from github/mergeback/v3.24.6-to-main-8a470fdd
angelapwen Feb 29, 2024
5fa9b09
Bump the npm group with 3 updates (#2183)
dependabot[bot] Mar 4, 2024
8493793
Update supported GitHub Enterprise Server versions
github-actions[bot] Mar 6, 2024
83a02f7
Merge pull request #2184 from github/update-supported-enterprise-serv…
henrymercer Mar 6, 2024
1bac334
Update `languages` help
henrymercer Mar 8, 2024
27a6cd0
Remove experimental qualifiers from build mode input
henrymercer Mar 8, 2024
24c3eda
Escape named value in input description
henrymercer Mar 8, 2024
2fa207a
Merge pull request #2188 from github/henrymercer/prepare-build-mode-help
henrymercer Mar 8, 2024
532ca54
Fail `analyze` step by passing an invalid option to `database finaliz…
angelapwen Mar 11, 2024
caf3779
Update default bundle to 2.16.4 (#2185)
github-actions[bot] Mar 11, 2024
5ec06c7
Use the `--sarif-include-query-help` option when supported
henrymercer Mar 11, 2024
69e120d
Merge pull request #2191 from github/henrymercer/use-include-query-he…
henrymercer Mar 11, 2024
5e88299
Bump the npm group with 2 updates (#2190)
dependabot[bot] Mar 12, 2024
a006adf
Update changelog for v3.24.7
github-actions[bot] Mar 12, 2024
3ab4101
Merge pull request #2192 from github/update-v3.24.7-5e882999f
angelapwen Mar 12, 2024
de22b30
Revert "Update version and changelog for v2.24.6"
github-actions[bot] Mar 12, 2024
8c395e0
Revert "Update checked-in dependencies"
github-actions[bot] Mar 12, 2024
1a8046c
Merge remote-tracking branch 'origin/releases/v3' into backport-v2.24…
github-actions[bot] Mar 12, 2024
570dc01
Update version and changelog for v2.24.7
github-actions[bot] Mar 12, 2024
ed2b6b7
Manually fix changelog latest version
angelapwen Mar 12, 2024
6046c63
Update checked-in dependencies
github-actions[bot] Mar 12, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
4 changes: 3 additions & 1 deletion .github/workflows/debug-artifacts-failure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,11 @@ jobs:
run: ./build.sh
- uses: ./../action/analyze
id: analysis
env:
# Forces a failure in this step.
CODEQL_ACTION_EXTRA_OPTIONS: '{ "database": { "finalize": ["--invalid-option"] } }'
with:
expect-error: true
ram: 1
download-and-check-artifacts:
name: Download and check debug artifacts after failure in analyze
needs: upload-artifacts
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ See the [releases page](https://github.com/github/codeql-action/releases) for th

Note that the only difference between `v2` and `v3` of the CodeQL Action is the node version they support, with `v3` running on node 20 while we continue to release `v2` to support running on node 16. For example `3.22.11` was the first `v3` release and is functionally identical to `2.22.11`. This approach ensures an easy way to track exactly which features are included in different versions, indicated by the minor and patch version numbers.

## 2.24.7 - 12 Mar 2024

- Update default CodeQL bundle version to 2.16.4. [#2185](https://github.com/github/codeql-action/pull/2185)

## 2.24.6 - 29 Feb 2024

No user facing changes.
Expand Down
34 changes: 21 additions & 13 deletions init/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,25 +7,33 @@ inputs:
required: false
# If not specified the Action will check in several places until it finds the CodeQL tools.
languages:
description: |
A comma-separated value of the languages to be analysed e.g. python,javascript
description: >-
A comma-separated list of CodeQL languages to analyze.

Due to the performance benefit of parallelizing builds, we recommend specifying languages to
analyze using a matrix and providing `\$\{{ matrix.language }}` as this input.

For more information, see
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.
required: false
build-mode:
description: >-
[Experimental, for internal testing only] The build mode that will be used to analyze the language.
This input is only available in single-language analyses.
The build mode that will be used to analyze the language. This input is only available when
analyzing a single CodeQL language per job, for example using a matrix.

Available build modes will differ based on the language being analyzed. One of:

- none: The database will be created without building the source code.
Available for all interpreted languages and some compiled languages.
- autobuild: The database will be created by attempting to automatically build the source code.
To use this build mode, ensure that your workflow calls the `autobuild` action
between the `init` and `analyze` steps.
Available for all compiled languages.
- manual: The database will be created by building the source code using a manually specified
build command. To use this build mode, specify manual build steps in your workflow
between the `init` and `analyze` steps. Available for all compiled languages.
- `none`: The database will be created without building the source code.
Available for all interpreted languages and some compiled languages.
- `autobuild`: The database will be created by attempting to automatically build the source
code.
To use this build mode, ensure that your workflow calls the `autobuild` action
between the `init` and `analyze` steps.
Available for all compiled languages.
- `manual`: The database will be created by building the source code using a manually
specified build command. To use this build mode, specify manual build steps in
your workflow between the `init` and `analyze` steps. Available for all
compiled languages.
required: false
token:
description: GitHub token to use for authenticating with this instance of GitHub. To download custom packs from multiple registries, use the registries input.
Expand Down
2 changes: 1 addition & 1 deletion lib/api-compatibility.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{ "maximumVersion": "3.12", "minimumVersion": "3.8" }
{ "maximumVersion": "3.13", "minimumVersion": "3.8" }
16 changes: 13 additions & 3 deletions lib/codeql.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/codeql.js.map

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions lib/defaults.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"bundleVersion": "codeql-bundle-v2.16.3",
"cliVersion": "2.16.3",
"priorBundleVersion": "codeql-bundle-v2.16.2",
"priorCliVersion": "2.16.2"
"bundleVersion": "codeql-bundle-v2.16.4",
"cliVersion": "2.16.4",
"priorBundleVersion": "codeql-bundle-v2.16.3",
"priorCliVersion": "2.16.3"
}
4 changes: 2 additions & 2 deletions lib/trap-caching.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/trap-caching.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/trap-caching.test.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading