Improve stability when choosing the default version of CodeQL to use in code scanning workflow runs on Actions on GitHub.com. #1475
This change addresses customer reports of code scanning alerts on GitHub.com being closed and reopened during the rollout of new versions of CodeQL in the GitHub Actions runner images.
No change is required for the majority of workflows, including:
Workflows on GitHub.com hosted runners using the latest version (v2) of the CodeQL Action.
Workflows on GitHub.com hosted runners that are pinned to specific versions of the CodeQL Action from v2.2.0 onwards.
Workflows on GitHub Enterprise Server.
A change may be required for workflows on GitHub.com hosted runners that are pinned to specific versions of the CodeQL Action before v2.2.0 (e.g. v2.1.32):
Previously, these workflows would obtain the latest version of CodeQL from the Actions runner image.
Now, these workflows will download an older, compatible version of CodeQL from GitHub Releases. To use this older version, no change is required. To use the newest version of CodeQL, please update your workflows to reference the latest version of the CodeQL Action (v2).
Internal changes
These changes will not affect the majority of code scanning workflows. Continue reading only if your workflow uses @actions/tool-cache or relies on the precise location of CodeQL within the Actions tool cache.
The tool cache now contains two recent CodeQL versions (previously one).
Each CodeQL version is located under a directory named after the release date and version number, e.g. CodeQL 2.11.6 is now located under CodeQL/2.11.6-20221211/x64/codeql (previously CodeQL/0.0.0-20221211/x64/codeql).
Update default CodeQL bundle version to 2.12.1. #1498
Fix a bug that forced the init Action to run for at least two minutes on JavaScript. #1494
2.1.39 - 18 Jan 2023
CodeQL Action v1 is now deprecated, and is no longer updated or supported. For better performance, improved security, and new features, upgrade to v2. For more information, see this changelog post. #1467
Python automatic dependency installation will no longer fail for projects using Poetry that specify virtualenvs.options.no-pip = true in their poetry.toml. #1431
Avoid printing a stack trace and error message when the action fails to find the SHA at the
current directory. This will happen in several non-error states and so we now avoid cluttering the
log with this message. #1485
2.1.38 - 12 Jan 2023
Update default CodeQL bundle version to 2.12.0. #1466
2.1.37 - 14 Dec 2022
Update default CodeQL bundle version to 2.11.6. #1433
2.1.36 - 08 Dec 2022
Update default CodeQL bundle version to 2.11.5. #1412
Add a step that tries to upload a SARIF file for the workflow run when that workflow run fails. This will help better surface failed code scanning workflow runs. #1393
Python automatic dependency installation will no longer consider dependency code installed in venv as user-written, for projects using Poetry that specify virtualenvs.in-project = true in their poetry.toml. #1419
2.1.35 - 01 Dec 2022
No user facing changes.
2.1.34 - 25 Nov 2022
Update default CodeQL bundle version to 2.11.4. #1391
Fixed a bug where some the init action and the analyze action would have different sets of experimental feature flags enabled. #1384
... (truncated)
Commits
a34ca99 Merge pull request #1489 from github/update-v2.1.39-597c2041
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps github/codeql-action from 2.1.38 to 2.1.39.
Changelog
Sourced from github/codeql-action's changelog.
... (truncated)
Commits
a34ca99
Merge pull request #1489 from github/update-v2.1.39-597c204148fa828
Update changelog for v2.1.39597c204
Merge pull request #1481 from github/henrymercer/discontinue-v1e0fd640
Merge pull request #1487 from github/aeisenberg/queries-checkd731c01
Merge pull request #1486 from github/update-supported-enterprise-server-versions6dfc772
Add link to new changelog post60e58b4
Merge branch 'main' into henrymercer/discontinue-v19b1206e
Fix a bug in cli config parsing40cfcb0
Merge pull request #1485 from github/aeisenberg/comitoid-messagee199504
Update supported GitHub Enterprise Server versions.Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)