Skip to content

Commit 28deaed

Browse files
authored
Merge pull request #2865 from github/update-v3.28.16-2a8cbadc0
Merge main into releases/v3
2 parents 45775bd + 03c5d71 commit 28deaed

File tree

80 files changed

+490
-401
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

80 files changed

+490
-401
lines changed

.github/actions/prepare-test/action.yml

+12-9
Original file line numberDiff line numberDiff line change
@@ -29,24 +29,27 @@ runs:
2929
- id: get-url
3030
name: Determine URL
3131
shell: bash
32+
env:
33+
VERSION: ${{ inputs.version }}
34+
USE_ALL_PLATFORM_BUNDLE: ${{ inputs.use-all-platform-bundle }}
3235
run: |
3336
set -e # Fail this Action if `gh release list` fails.
3437
35-
if [[ ${{ inputs.version }} == "linked" ]]; then
38+
if [[ "$VERSION" == "linked" ]]; then
3639
echo "tools-url=linked" >> "$GITHUB_OUTPUT"
3740
exit 0
38-
elif [[ ${{ inputs.version }} == "default" ]]; then
41+
elif [[ "$VERSION" == "default" ]]; then
3942
echo "tools-url=" >> "$GITHUB_OUTPUT"
4043
exit 0
4144
fi
4245
43-
if [[ ${{ inputs.version }} == "nightly-latest" && "$RUNNER_OS" != "Windows" ]]; then
46+
if [[ "$VERSION" == "nightly-latest" && "$RUNNER_OS" != "Windows" ]]; then
4447
extension="tar.zst"
4548
else
4649
extension="tar.gz"
4750
fi
4851
49-
if [[ ${{ inputs.use-all-platform-bundle }} == "true" ]]; then
52+
if [[ "$USE_ALL_PLATFORM_BUNDLE" == "true" ]]; then
5053
artifact_name="codeql-bundle.$extension"
5154
elif [[ "$RUNNER_OS" == "Linux" ]]; then
5255
artifact_name="codeql-bundle-linux64.$extension"
@@ -59,14 +62,14 @@ runs:
5962
exit 1
6063
fi
6164
62-
if [[ ${{ inputs.version }} == "nightly-latest" ]]; then
65+
if [[ "$VERSION" == "nightly-latest" ]]; then
6366
tag=`gh release list --repo dsp-testing/codeql-cli-nightlies -L 1 | cut -f 3`
6467
echo "tools-url=https://github.com/dsp-testing/codeql-cli-nightlies/releases/download/$tag/$artifact_name" >> $GITHUB_OUTPUT
65-
elif [[ ${{ inputs.version }} == *"nightly"* ]]; then
66-
version=`echo ${{ inputs.version }} | sed -e 's/^.*\-//'`
68+
elif [[ "$VERSION" == *"nightly"* ]]; then
69+
version=`echo "$VERSION" | sed -e 's/^.*\-//'`
6770
echo "tools-url=https://github.com/dsp-testing/codeql-cli-nightlies/releases/download/codeql-bundle-$version/$artifact_name" >> $GITHUB_OUTPUT
68-
elif [[ ${{ inputs.version }} == *"stable"* ]]; then
69-
version=`echo ${{ inputs.version }} | sed -e 's/^.*\-//'`
71+
elif [[ "$VERSION" == *"stable"* ]]; then
72+
version=`echo "$VERSION" | sed -e 's/^.*\-//'`
7073
echo "tools-url=https://github.com/github/codeql-action/releases/download/codeql-bundle-$version/$artifact_name" >> $GITHUB_OUTPUT
7174
else
7275
echo "::error::Unrecognized version specified!"

.github/actions/release-branches/action.yml

+5-2
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,11 @@ runs:
1818
using: "composite"
1919
steps:
2020
- id: branches
21+
env:
22+
MAJOR_VERSION: ${{ inputs.major_version }}
23+
LATEST_TAG: ${{ inputs.latest_tag }}
2124
run: |
2225
python ${{ github.action_path }}/release-branches.py \
23-
--major-version ${{ inputs.major_version }} \
24-
--latest-tag ${{ inputs.latest_tag }}
26+
--major-version "$MAJOR_VERSION" \
27+
--latest-tag "$LATEST_TAG"
2528
shell: bash

.github/workflows/post-release-mergeback.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ jobs:
168168
--draft
169169
170170
- name: Generate token
171-
uses: actions/create-github-app-token@v1.12.0
171+
uses: actions/create-github-app-token@v2.0.2
172172
id: app-token
173173
with:
174174
app-id: ${{ vars.AUTOMATION_APP_ID }}

.github/workflows/update-release-branch.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ jobs:
124124
pull-requests: write # needed to create pull request
125125
steps:
126126
- name: Generate token
127-
uses: actions/create-github-app-token@v1.12.0
127+
uses: actions/create-github-app-token@v2.0.2
128128
id: app-token
129129
with:
130130
app-id: ${{ vars.AUTOMATION_APP_ID }}

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
See the [releases page](https://github.com/github/codeql-action/releases) for the relevant changes to the CodeQL CLI and language packs.
44

5+
## 3.28.16 - 23 Apr 2025
6+
7+
- Update default CodeQL bundle version to 2.21.1. [#2863](https://github.com/github/codeql-action/pull/2863)
8+
59
## 3.28.15 - 07 Apr 2025
610

711
- Fix bug where the action would fail if it tried to produce a debug artifact with more than 65535 files. [#2842](https://github.com/github/codeql-action/pull/2842)

lib/defaults.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"bundleVersion": "codeql-bundle-v2.21.0",
3-
"cliVersion": "2.21.0",
4-
"priorBundleVersion": "codeql-bundle-v2.20.7",
5-
"priorCliVersion": "2.20.7"
2+
"bundleVersion": "codeql-bundle-v2.21.1",
3+
"cliVersion": "2.21.1",
4+
"priorBundleVersion": "codeql-bundle-v2.21.0",
5+
"priorCliVersion": "2.21.0"
66
}

node_modules/.package-lock.json

+14-15
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

node_modules/@eslint/js/package.json

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

node_modules/@mswjs/interceptors/lib/browser/chunk-PBC2PID2.mjs renamed to node_modules/@mswjs/interceptors/lib/browser/chunk-3NVFHQ5L.mjs

+4-13
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

node_modules/@mswjs/interceptors/lib/browser/chunk-3NVFHQ5L.mjs.map

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

node_modules/@mswjs/interceptors/lib/browser/chunk-5UK33FSU.mjs.map

-1
This file was deleted.

node_modules/@mswjs/interceptors/lib/browser/chunk-BC2BLJQN.js.map

-1
This file was deleted.

node_modules/@mswjs/interceptors/lib/browser/chunk-DODHRDV6.mjs renamed to node_modules/@mswjs/interceptors/lib/browser/chunk-E2WFHJX6.mjs

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)