Skip to content

docs: retire hand-maintained CodeQL version table, point to GitHub Releases#178

Merged
felickz merged 1 commit into
mainfrom
chore/point-version-table-to-releases
Jul 11, 2026
Merged

docs: retire hand-maintained CodeQL version table, point to GitHub Releases#178
felickz merged 1 commit into
mainfrom
chore/point-version-table-to-releases

Conversation

@felickz

@felickz felickz commented Jul 11, 2026

Copy link
Copy Markdown
Contributor

Why

PR #177's Copilot review flagged that the "Supported CodeQL versions" table in CONTRIBUTING.md is stale (still showed v2.21.1 even though main is on 2.23.9). Checking history: this table's "update it" checklist item has now been skipped on two consecutive CLI-bump PRs in a row (#173 and #177) - a recurring gap, not a one-off miss.

Meanwhile, publish.yml's summary job already generates a strictly better, always-current equivalent on every release: a per-src/lib table that links every cell to the exact upstream (github/codeql at the CLI tag) and downstream (this repo's lock file) source, with a ✅/mismatch status column. It's regenerated from the real lock files every release, so it can't go stale the way a hand-typed table can.

What changed

  • CONTRIBUTING.md: replaced the stale per-language table + hardcoded CLI version line with a pointer to the latest GitHub Release (and .codeqlversion directly, for just the pinned CLI version). Kept:
    • The ## Supported CodeQL versions heading itself (README.md links to its anchor).
    • The [!WARNING] box explaining why codeql/* deps are pinned to exact versions - still accurate, version-independent context.
    • The explanation of why C/C++ and C# have an extra codeql/<language>-queries dependency - also version-independent.
    • Fixed two "shown below"/"table below" references that pointed at the now-removed table.
  • .github/workflows/update-codeql-version.yml: dropped the now-obsolete - [ ] Update the "Supported CodeQL versions" table in CONTRIBUTING.md. checklist bullet from both generated PR-body branches (with and without release_bump), since there's nothing left to update.
  • Checked .github/workflows/update-release.yml and README.md for the same reference - neither needs a change (the workflow has no such bullet, and the README's anchor link still resolves fine since the heading is preserved).

Testing

Docs-only change; no CI-relevant code touched. Proofread the rendered markdown and verified every cross-reference (#supported-codeql-versions, #cutting-a-release, [latest-release], [codeql-repo]) resolves correctly.

Co-authored-by: Copilot App 223556219+Copilot@users.noreply.github.com

…leases

The "Supported CodeQL versions" table in CONTRIBUTING.md was hand-maintained
and went stale across the last two CLI bumps in a row (PR #173 and #177 both
skipped the "update the table" checklist item). Meanwhile publish.yml's
summary job already generates an equivalent, strictly better table on every
release: it's per-src/lib, links every cell to the exact upstream and
downstream source, and flags drift with a checkmark/mismatch column - so it
can never go stale the way a hand-typed table can.

- CONTRIBUTING.md: replace the stale table with a pointer to the latest
  GitHub Release (and .codeqlversion directly for just the CLI version).
  Keep the heading (README.md links to its anchor), the pinning-rationale
  WARNING box, and the cpp/csharp upstream-queries-pack explanation - none
  of that is version-specific or stale.
- update-codeql-version.yml: drop the now-obsolete "Update the Supported
  CodeQL versions table in CONTRIBUTING.md" checklist bullet from both
  generated PR-body branches (with/without release_bump).

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings July 11, 2026 01:51
@felickz felickz merged commit 0ab6ced into main Jul 11, 2026
19 checks passed
@felickz felickz deleted the chore/point-version-table-to-releases branch July 11, 2026 01:51

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates contributor documentation and automation to remove a stale, hand-maintained “Supported CodeQL versions” table and instead direct maintainers to the auto-generated, always-current version matrix produced during releases.

Changes:

  • Replaced the manual CodeQL CLI/library version table in CONTRIBUTING.md with guidance pointing to the latest GitHub Release (auto-generated table) and .codeqlversion.
  • Updated the “Updating the pinned CodeQL CLI/library version” checklist in CONTRIBUTING.md to remove the obsolete “update the table” step.
  • Removed the same obsolete checklist bullet from the PR body text generated by .github/workflows/update-codeql-version.yml.
Show a summary per file
File Description
CONTRIBUTING.md Removes the hand-maintained versions table and points readers to release-generated, lockfile-derived version tables and .codeqlversion.
.github/workflows/update-codeql-version.yml Drops the outdated “update Supported CodeQL versions table” checklist item from generated PR descriptions.

Review details

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

  • Files reviewed: 2/2 changed files
  • Comments generated: 0
  • Review effort level: Low

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants