Skip to content

Commit ece8414

Browse files
authored
Merge pull request #2142 from github/update-v3.24.2-1a41e5519
Merge main into releases/v3
2 parents e675ced + 32f8d53 commit ece8414

Some content is hidden

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

45 files changed

+554
-197
lines changed

Diff for: .github/update-release-branch.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def open_pr(
6060

6161
# Start constructing the body text
6262
body = []
63-
body.append(f'Merging {source_branch_short_sha} into {target_branch}.')
63+
body.append(f'Merging {source_branch_short_sha} into `{target_branch}`.')
6464

6565
body.append('')
6666
body.append(f'Conductor for this PR is @{conductor}.')
@@ -92,7 +92,7 @@ def open_pr(
9292
'branch to resolve the merge conflicts.')
9393
body.append(' - [ ] Ensure the CHANGELOG displays the correct version and date.')
9494
body.append(' - [ ] Ensure the CHANGELOG includes all relevant, user-facing changes since the last release.')
95-
body.append(f' - [ ] Check that there are not any unexpected commits being merged into the {target_branch} branch.')
95+
body.append(f' - [ ] Check that there are not any unexpected commits being merged into the `{target_branch}` branch.')
9696
body.append(' - [ ] Ensure the docs team is aware of any documentation changes that need to be released.')
9797

9898
if not is_primary_release:

Diff for: .github/workflows/__build-mode-rollback.yml

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

Diff for: .github/workflows/debug-artifacts-failure.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565
shell: bash
6666
run: |
6767
LANGUAGES="cpp csharp go java javascript python"
68-
pushd "./my-debug-artifacts"
68+
cd "./my-debug-artifacts"
6969
echo "Artifacts from run:"
7070
for language in $LANGUAGES; do
7171
echo "- Checking $language"
@@ -82,6 +82,5 @@ jobs:
8282
exit 1
8383
fi
8484
done
85-
popd
8685
env:
8786
GO111MODULE: auto

Diff for: .github/workflows/rebuild.yml

+17
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,23 @@ jobs:
2424
gh pr edit --repo github/codeql-action "$PR_NUMBER" \
2525
--remove-label "Rebuild"
2626
27+
- name: Merge in changes from base branch
28+
env:
29+
BASE_BRANCH: ${{ github.event.pull_request.base.ref }}
30+
run: |
31+
git fetch origin "$BASE_BRANCH"
32+
33+
# Allow merge conflicts in `lib`, since rebuilding should resolve them.
34+
git merge "origin/$BASE_BRANCH" || echo "Merge conflicts detected"
35+
36+
# Check for merge conflicts outside of `lib`. Disable git diff's trailing whitespace check
37+
# since `node_modules/@types/semver/README.md` fails it.
38+
if git -c core.whitespace=-trailing-space diff --check | grep --invert-match '^lib/'; then
39+
echo "Merge conflicts detected outside of lib/ directory. Please resolve them manually."
40+
git -c core.whitespace=-trailing-space diff --check | grep --invert-match '^lib/' || true
41+
exit 1
42+
fi
43+
2744
- name: Compile TypeScript
2845
run: |
2946
npm install

Diff for: .gitignore

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,7 @@
11
# Ignore for example failing-tests.json from AVA
2-
node_modules/.cache
2+
node_modules/.cache/
3+
# Java build files
4+
.gradle/
5+
*.class
6+
# macOS
7+
.DS_Store

Diff for: CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ See the [releases page](https://github.com/github/codeql-action/releases) for th
44

55
Note that the only difference between `v2` and `v3` of the CodeQL Action is the node version they support, with `v3` running on node 20 while we continue to release `v2` to support running on node 16. For example `3.22.11` was the first `v3` release and is functionally identical to `2.22.11`. This approach ensures an easy way to track exactly which features are included in different versions, indicated by the minor and patch version numbers.
66

7+
## 3.24.2 - 15 Feb 2024
8+
9+
- Enable improved multi-threaded performance on larger runners for GitHub Enterprise Server users. This feature is already available to GitHub.com users. [#2141](https://github.com/github/codeql-action/pull/2141)
10+
711
## 3.24.1 - 13 Feb 2024
812

913
- Update default CodeQL bundle version to 2.16.2. [#2124](https://github.com/github/codeql-action/pull/2124)

Diff for: lib/analyze.js

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

Diff for: lib/analyze.js.map

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

Diff for: lib/cli-errors.js

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

0 commit comments

Comments
 (0)