Update supported GitHub Enterprise Server versions#3539
Conversation
There was a problem hiding this comment.
Pull request overview
Updates the CodeQL Action’s GitHub Enterprise Server (GHES) API compatibility upper bound to include the next GHES minor release, ensuring version-range checks and warnings align with newly supported servers.
Changes:
- Bump
src/api-compatibility.jsonmaximumVersionfrom3.20to3.21. - Regenerate compiled
lib/**.jsartifacts to reflect the updated compatibility constant.
Reviewed changes
Copilot reviewed 9 out of 9 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| src/api-compatibility.json | Updates the GHES API compatibility maximum version used by runtime version-range checks. |
| lib/upload-sarif-action-post.js | Generated output reflecting the updated compatibility constant. |
| lib/start-proxy-action-post.js | Generated output reflecting the updated compatibility constant. |
| lib/setup-codeql-action.js | Generated output reflecting the updated compatibility constant. |
| lib/resolve-environment-action.js | Generated output reflecting the updated compatibility constant. |
| lib/init-action.js | Generated output reflecting the updated compatibility constant. |
| lib/init-action-post.js | Generated output reflecting the updated compatibility constant. |
| lib/autobuild-action.js | Generated output reflecting the updated compatibility constant. |
| lib/analyze-action-post.js | Generated output reflecting the updated compatibility constant. |
| @@ -1 +1 @@ | |||
| {"maximumVersion": "3.20", "minimumVersion": "3.14"} | |||
| {"maximumVersion": "3.21", "minimumVersion": "3.14"} | |||
There was a problem hiding this comment.
The GHES compatibility range is being updated here to 3.21, but the README compatibility matrix still lists Enterprise Server 3.20 as the newest supported version. Please update README.md’s “Supported versions of the CodeQL Bundle on GitHub Enterprise Server” table to include/update the 3.21 entry so user-facing docs match the supported range enforced by this file.
This PR updates the list of supported GitHub Enterprise Server versions, either because a new version is about to be feature frozen, or because an old release has been deprecated.
If an old release has been deprecated, please follow the instructions in CONTRIBUTING.md to deprecate the corresponding version of CodeQL.