Skip to content

Commit def4d2c

Browse files
authored
Merge pull request #2273 from github/aeisenberg/specify-versions
Add a compatibility table to the README
2 parents 7d9b7a1 + d234275 commit def4d2c

File tree

3 files changed

+20
-2
lines changed

3 files changed

+20
-2
lines changed

CHANGELOG.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ Note that the only difference between `v2` and `v3` of the CodeQL Action is the
66

77
## [UNRELEASED]
88

9-
No user facing changes.
9+
- Add a compatibility matrix of supported CodeQL Action, CodeQL CLI, and GitHub Enterprise Server versions to the [README.md](README.md). [#2273](https://github.com/github/codeql-action/pull/2273)
10+
- Avoid printing out a warning for a missing `on.push` trigger when the CodeQL Action is triggered via a `workflow_call` event. [#2274](https://github.com/github/codeql-action/pull/2274)
1011

1112
## 3.25.4 - 08 May 2024
1213

1314
- Update default CodeQL bundle version to 2.17.2. [#2270](https://github.com/github/codeql-action/pull/2270)
14-
- Avoid printing out a warning for a missing `on.push` trigger when the CodeQL Action is triggered via a `workflow_call` event. [#2274](https://github.com/github/codeql-action/pull/2274)
1515

1616
## 3.25.3 - 25 Apr 2024
1717

CONTRIBUTING.md

+2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
[fork]: https://github.com/github/codeql-action/fork
44
[pr]: https://github.com/github/codeql-action/compare
55
[code-of-conduct]: CODE_OF_CONDUCT.md
6+
[readme]: README.md#supported-versions-of-the-codeql-cli-and-github-enterprise-server
67

78
Hi there! We're thrilled that you'd like to contribute to this project. Your help is essential for keeping it great.
89

@@ -84,6 +85,7 @@ We typically deprecate a version of CodeQL when the GitHub Enterprise Server (GH
8485
1. Notify users using the old version of CodeQL about the deprecation.
8586
- Update `CODEQL_NEXT_MINIMUM_VERSION`, `GHES_VERSION_MOST_RECENTLY_DEPRECATED`, and `GHES_MOST_RECENT_DEPRECATION_DATE` in `src/codeql.ts` to reflect the new minimum version of CodeQL and the GHES version that has just been deprecated.
8687
- Add a changelog note announcing the deprecation.
88+
- Update the CLI version referenced in the [readme] by adding a new row to the compatibility table.
8789
- Example PR: https://github.com/github/codeql-action/pull/1884
8890
1. Release the Action, or wait for the next scheduled release of the Action, then wait at least a week so users have time to see and act on the deprecation warning.
8991
1. Remove support for the old version of CodeQL.

README.md

+16
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,22 @@ To provide the best experience to customers using older versions of GitHub Enter
3333

3434
For more information, see "[Code scanning: deprecation of CodeQL Action v2](https://github.blog/changelog/2024-01-12-code-scanning-deprecation-of-codeql-action-v2/)."
3535

36+
## Supported versions of the CodeQL CLI and GitHub Enterprise Server
37+
38+
We typically release new minor versions of the CodeQL Action and CLI when a new minor version of GitHub Enterprise Server (GHES) is released. When a version of GHES is deprecated, the CodeQL Action and CLI releases that shipped with it are deprecated as well.
39+
40+
| Recommended CodeQL Action | Recommended CodeQL CLI Version | GitHub Environment |
41+
|---------|----------|--------------|
42+
| `v3` | default (do not pass a `tools` input) | GitHub.com |
43+
| `3.22.12` | `2.15.5` | Enterprise Server 3.12 |
44+
| `2.22.1` | `2.14.6` | Enterprise Server 3.11 |
45+
| `2.20.3` | `2.13.5` | Enterprise Server 3.10 |
46+
| `2.2.9` | `2.12.5` | Enterprise Server 3.9 |
47+
48+
CodeQL Action `v2` will stop receiving updates when GHES 3.11 is deprecated.
49+
50+
See the full list of GHES release and deprecation dates at [GitHub Enterprise Server releases](https://docs.github.com/en/enterprise-server/admin/all-releases#releases-of-github-enterprise-server).
51+
3652
## Troubleshooting
3753

3854
Read about [troubleshooting code scanning](https://docs.github.com/en/code-security/code-scanning/troubleshooting-code-scanning).

0 commit comments

Comments
 (0)