Skip to content

Commit 0ba4970

Browse files
authored
Merge branch 'main' into mbg/setup/toolcache
2 parents 726a341 + 5431b6a commit 0ba4970

38 files changed

+542
-373
lines changed

.github/actions/check-sarif/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ inputs:
1616
Comma separated list of query ids that should NOT be included in this SARIF file.
1717
1818
runs:
19-
using: node20
19+
using: node24
2020
main: index.js

.github/pull_request_template.md

Lines changed: 48 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,13 @@
1-
<!-- For GitHub staff: Remember that this is a public repository. -->
1+
<!--
2+
For GitHub staff: Remember that this is a public repository. Do not link to internal resources.
3+
If necessary, link to this PR from an internal issue and include further details there.
4+
5+
Everyone: Include a summary of the context of this change, what it aims to accomplish, and why you
6+
chose the approach you did if applicable. Indicate any open questions you want to answer
7+
during the review process and anything you want reviewers to pay particular attention to.
8+
9+
See https://github.com/github/codeql-action/blob/main/CONTRIBUTING.md for additional information.
10+
-->
211

312
### Risk assessment
413

@@ -7,6 +16,44 @@ For internal use only. Please select the risk level of this change:
716
- **Low risk:** Changes are fully under feature flags, or have been fully tested and validated in pre-production environments and are highly observable, or are documentation or test only.
817
- **High risk:** Changes are not fully under feature flags, have limited visibility and/or cannot be tested outside of production.
918

19+
#### Which use cases does this change impact?
20+
21+
<!-- Delete options that don't apply. -->
22+
23+
- **Advanced setup** - Impacts users who have custom workflows.
24+
- **Default setup** - Impacts users who use default setup.
25+
- **Code Scanning** - Impacts Code Scanning (i.e. `analysis-kinds: code-scanning`).
26+
- **Code Quality** - Impacts Code Quality (i.e. `analysis-kinds: code-quality`).
27+
- **Third-party analyses** - Impacts third-party analyses (i.e. `upload-sarif`).
28+
- **GHES** - Impacts GitHub Enterprise Server.
29+
30+
#### How did/will you validate this change?
31+
32+
<!-- Delete options that don't apply. -->
33+
34+
- **Test repository** - This change will be tested on a test repository before merging.
35+
- **Unit tests** - I am depending on unit test coverage (i.e. tests in `.test.ts` files).
36+
- **End-to-end tests** - I am depending on PR checks (i.e. tests in `pr-checks`).
37+
- **Other** - Please provide details.
38+
- **None** - I am not validating these changes.
39+
40+
#### If something goes wrong after this change is released, what are the mitigation and rollback strategies?
41+
42+
<!-- Delete strategies that don't apply. -->
43+
44+
- **Feature flags** - All new or changed code paths can be fully disabled with corresponding feature flags.
45+
- **Rollback** - Change can only be disabled by rolling back the release or releasing a new version with a fix.
46+
- **Other** - Please provide details.
47+
48+
#### How will you know if something goes wrong after this change is released?
49+
50+
<!-- Delete options that don't apply. -->
51+
52+
- **Telemetry** - I rely on existing telemetry or have made changes to the telemetry.
53+
- **Dashboards** - I will watch relevant dashboards for issues after the release. Consider whether this requires this change to be released at a particular time rather than as part of a regular release.
54+
- **Alerts** - New or existing monitors will trip if something goes wrong with this change.
55+
- **Other** - Please provide details.
56+
1057
### Merge / deployment checklist
1158

1259
- Confirm this change is backwards compatible with existing workflows.

.github/workflows/__upload-quality-sarif.yml

Lines changed: 0 additions & 95 deletions
This file was deleted.

.github/workflows/__upload-sarif.yml

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

.github/workflows/__with-checkout-path.yml

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

.github/workflows/codescanning-config-cli.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
- name: Set up Node.js
5959
uses: actions/setup-node@v5
6060
with:
61-
node-version: '20'
61+
node-version: 24
6262
cache: 'npm'
6363

6464
- name: Install dependencies

.github/workflows/pr-checks.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
fail-fast: false
2121
matrix:
2222
os: [ubuntu-latest, macos-latest, windows-latest]
23+
node-version: [20, 24]
2324
permissions:
2425
contents: read
2526
security-events: write # needed to upload ESLint results
@@ -36,7 +37,7 @@ jobs:
3637
- name: Set up Node.js
3738
uses: actions/setup-node@v5
3839
with:
39-
node-version: '20.x'
40+
node-version: ${{ matrix.node-version }}
4041
cache: 'npm'
4142

4243
- name: Set up Python
@@ -73,7 +74,7 @@ jobs:
7374

7475
- name: Upload sarif
7576
uses: github/codeql-action/upload-sarif@v3
76-
if: matrix.os == 'ubuntu-latest'
77+
if: matrix.os == 'ubuntu-latest' && matrix.node-version == 24
7778
with:
7879
sarif_file: eslint.sarif
7980
category: eslint

0 commit comments

Comments
 (0)