chore: bump pinned CodeQL CLI to v2.27.1 and release v0.8.1 - #232
Conversation
|
@copilot - is this an expected change for Go in 2.27.1? Fix if it is expected and explain why, otherwise escalate back here. https://codeql.github.com/docs/codeql-overview/codeql-changelog/codeql-cli-2.27.1/
|
Co-authored-by: felickz <1760475+felickz@users.noreply.github.com>
Expected. Ran the test locally: source/sink locations ( |
|
Closes: #233 |
Automated CLI version bump, requested via the "Update CodeQL CLI Version"
workflow (
workflow_dispatch,codeql_version: 2.27.1,release_bump: patch).This PR:
Updates
.codeqlversionto2.27.1.Pins every
codeql/<lang>-all/codeql/<lang>-queriesdependencies:entry across query/library
qlpack.ymlfiles (not*/extor*/ext-library-sources, whoseextensionTargetsis intentionally leftunconstrained and must never be auto-rewritten) to the exact version
shipped in the official CodeQL Bundle for this CLI release (see
.github/scripts/pin-codeql-library-versions.sh) - this keepscodeql pack upgradefrom jumping those libraries to registry-latest insteadof the version this CLI actually ships/tests against.
Runs
codeql pack upgrade <dir>for every query/library pack directory (againexcluding
*/extand*/ext-library-sources) to refresh itscodeql-pack.lock.ymlagainst the new CLI and pinned library versions.Also bumps the repo release version (
patch, via the samepatch-release-mestepupdate-release.ymluses) to0.8.1,propagating it to every pack's own
version:field,configs/*.ymlreferences, and cross-pack
-libspins.Merging this PR triggers the real batch publish -
publish.yml'sauto-trigger fires on any push to
mainthat changes.release.yml, which thisPR does. No separate "CodeQL Update Release" run is needed. That run's
summaryjob will create the matching GitHub Release as a full release
(
release_prerelease: false).Remaining steps (see CONTRIBUTING.md's "Updating the pinned CodeQL CLI/library
version" section):
API changes. This is usually the hardest part; consider delegating it to a
Copilot coding agent session pointed at this PR/branch.