Skip to content

Commit 192406d

Browse files
authored
Merge branch 'main' into dependabot/github_actions/actions-4575878e06
2 parents a1ca484 + c7dbb20 commit 192406d

Some content is hidden

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

46 files changed

+478
-3999
lines changed

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

Lines changed: 12 additions & 9 deletions
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

Lines changed: 5 additions & 2 deletions
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

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ See the [releases page](https://github.com/github/codeql-action/releases) for th
66

77
No user facing changes.
88

9+
## 3.28.15 - 07 Apr 2025
10+
11+
- 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)
12+
913
## 3.28.14 - 07 Apr 2025
1014

1115
- Update default CodeQL bundle version to 2.21.0. [#2838](https://github.com/github/codeql-action/pull/2838)

lib/analyze.js

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

lib/analyze.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/debug-artifacts.js

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

lib/debug-artifacts.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/feature-flags.js

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

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy