chore: bump pinned CodeQL CLI to v2.27.0 and release v0.8.0 - #229
Conversation
|
@copilot investigate the breaking change in ruby queries and update / validate tests still work! Breaking Changes |
…Node Co-authored-by: felickz <1760475+felickz@users.noreply.github.com>
Fixed in a74010b's follow-up commit. The breaking change is the deprecation of |
Automated CLI version bump, requested via the "Update CodeQL CLI Version"
workflow (
workflow_dispatch,codeql_version: 2.27.0,release_bump: minor).This PR:
Updates
.codeqlversionto2.27.0.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 (
minor, via the samepatch-release-mestepupdate-release.ymluses) to0.8.0,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.