Skip to content

Commit 9771a76

Browse files
authored
Merge branch 'main' into dependabot/npm_and_yarn/npm-minor-aebc49e072
2 parents de2997a + 378e4b3 commit 9771a76

File tree

59 files changed

+245
-129
lines changed

Some content is hidden

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

59 files changed

+245
-129
lines changed

.github/workflows/__bundle-toolcache.yml

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

.github/workflows/__bundle-zstd.yml

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

.github/workflows/__go-tracing-autobuilder.yml

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

.github/workflows/__go-tracing-custom-build-steps.yml

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

.github/workflows/__go-tracing-legacy-workflow.yml

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

.github/workflows/__multi-language-autodetect.yml

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

.github/workflows/__resolve-environment-action.yml

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

.github/workflows/rebuild.yml

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,15 @@ jobs:
2929
fetch-depth: 0
3030
ref: ${{ env.HEAD_REF }}
3131

32+
- name: Set up Node.js
33+
uses: actions/setup-node@v6
34+
with:
35+
node-version: 24
36+
cache: 'npm'
37+
cache-dependency-path: |
38+
package-lock.json
39+
pr-checks/package-lock.json
40+
3241
- name: Remove label
3342
if: github.event_name == 'pull_request'
3443
env:
@@ -49,9 +58,18 @@ jobs:
4958
git fetch origin "$BASE_BRANCH"
5059
5160
# Allow merge conflicts in `lib`, since rebuilding should resolve them.
52-
git merge "origin/$BASE_BRANCH" || echo "Merge conflicts detected, continuing."
61+
git merge "origin/$BASE_BRANCH"
5362
MERGE_RESULT=$?
5463
64+
if [ "$MERGE_RESULT" -eq 0 ]; then
65+
echo "Merge succeeded cleanly."
66+
elif [ "$MERGE_RESULT" -eq 1 ]; then
67+
echo "Merge conflicts detected (exit code $MERGE_RESULT), continuing."
68+
else
69+
echo "git merge failed with unexpected exit code $MERGE_RESULT."
70+
exit 1
71+
fi
72+
5573
if [ "$MERGE_RESULT" -ne 0 ]; then
5674
echo "merge-in-progress=true" >> $GITHUB_OUTPUT
5775
@@ -104,7 +122,7 @@ jobs:
104122
# Otherwise, just commit the changes.
105123
if git rev-parse --verify MERGE_HEAD >/dev/null 2>&1; then
106124
echo "In progress merge detected, finishing it up."
107-
git merge --continue --no-edit
125+
git commit --no-edit
108126
else
109127
echo "No in-progress merge detected, committing changes."
110128
git commit -m "Rebuild"

pr-checks/checks/all-platform-bundle.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
name: "All-platform bundle"
22
description: "Tests using an all-platform CodeQL Bundle"
3-
operatingSystems: ["ubuntu", "macos", "windows"]
4-
versions: ["nightly-latest"]
3+
operatingSystems:
4+
- ubuntu
5+
- macos
6+
- windows
7+
versions:
8+
- nightly-latest
59
useAllPlatformBundle: "true"
610
installGo: true
711
installDotNet: true

pr-checks/checks/analysis-kinds.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
11
name: "Analysis kinds"
22
description: "Tests basic functionality for different `analysis-kinds` inputs."
3-
versions: ["linked", "nightly-latest"]
4-
analysisKinds: ["code-scanning", "code-quality", "code-scanning,code-quality", "risk-assessment"]
3+
versions:
4+
- linked
5+
- nightly-latest
6+
analysisKinds:
7+
- code-scanning
8+
- code-quality
9+
- code-scanning,code-quality
10+
- risk-assessment
511
env:
612
CODEQL_ACTION_RISK_ASSESSMENT_ID: 1
713
CHECK_SCRIPT: |

0 commit comments

Comments
 (0)