Skip to content

Commit 89dbac6

Browse files
authored
Merge branch 'main' into dependabot/npm_and_yarn/npm-minor-b59f2173c9
2 parents 483db64 + 8a992c6 commit 89dbac6

6 files changed

Lines changed: 26 additions & 11 deletions

File tree

‎.github/workflows/pr-dequeued.yml‎

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,23 @@ jobs:
2121
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2222
PR_NUMBER: ${{ github.event.pull_request.number }}
2323
REASON: ${{ github.event.reason }}
24-
USER: ${{ github.event.pull_request.user.login }}
2524
run: |
26-
echo "@$USER The pull request was removed from the merge queue (\`$REASON\`)." \
25+
# Mention whoever added the PR to the merge queue rather than the PR author, who may be a
26+
# bot such as Dependabot. The `dequeued` event payload doesn't identify the enqueuer, so
27+
# look them up in the most recent `AddedToMergeQueueEvent` on the PR's timeline.
28+
enqueuer=$(gh api graphql \
29+
-F number="$PR_NUMBER" \
30+
-f query='
31+
query($number: Int!) {
32+
repository(owner: "github", name: "codeql-action") {
33+
pullRequest(number: $number) {
34+
timelineItems(itemTypes: [ADDED_TO_MERGE_QUEUE_EVENT], last: 1) {
35+
nodes { ... on AddedToMergeQueueEvent { enqueuer { login } } }
36+
}
37+
}
38+
}
39+
}' \
40+
--jq '.data.repository.pullRequest.timelineItems.nodes[0].enqueuer.login')
41+
echo "@$enqueuer The pull request was removed from the merge queue (\`$REASON\`)." \
2742
"Please resolve any issues if required and enqueue the PR again." |
2843
gh pr comment --body-file - --repo github/codeql-action "$PR_NUMBER"

‎README.md‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@ We typically release new minor versions of the CodeQL Action and Bundle when a n
7676
| `v4.33.0` | `2.24.3` | Enterprise Server 3.21 | |
7777
| `v4.31.10` | `2.23.9` | Enterprise Server 3.20 | |
7878
| `v3.29.11` | `2.22.4` | Enterprise Server 3.19 | |
79-
| `v3.28.21` | `2.21.3` | Enterprise Server 3.18 | |
8079

8180
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).
8281

‎lib/entry-points.js‎

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎src/api-compatibility.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"maximumVersion":"3.23","minimumVersion":"3.18"}
1+
{"maximumVersion":"3.23","minimumVersion":"3.19"}

‎src/codeql.ts‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -260,17 +260,17 @@ const CODEQL_MINIMUM_VERSION = "2.20.7";
260260
/**
261261
* This version will shortly become the oldest version of CodeQL that the Action will run with.
262262
*/
263-
const CODEQL_NEXT_MINIMUM_VERSION = "2.21.3";
263+
const CODEQL_NEXT_MINIMUM_VERSION = "2.22.4";
264264

265265
/**
266266
* This is the version of GHES that was most recently deprecated.
267267
*/
268-
const GHES_VERSION_MOST_RECENTLY_DEPRECATED = "3.17";
268+
const GHES_VERSION_MOST_RECENTLY_DEPRECATED = "3.18";
269269

270270
/**
271271
* This is the deprecation date for the version of GHES that was most recently deprecated.
272272
*/
273-
const GHES_MOST_RECENT_DEPRECATION_DATE = "2026-09-24";
273+
const GHES_MOST_RECENT_DEPRECATION_DATE = "2026-10-16";
274274

275275
/** The CLI verbosity level to use for extraction in debug mode. */
276276
const EXTRACTION_DEBUG_MODE_VERBOSITY = "progress++";
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
- _Upcoming breaking change_: CodeQL version 2.22.3 and earlier were discontinued on 16 October 2026 alongside GitHub Enterprise Server 3.18, and will be unsupported by the next minor release of the CodeQL Action. Added a deprecation warning for customers using these versions of CodeQL. [#4266](https://github.com/github/codeql-action/pull/4266)

0 commit comments

Comments
 (0)