Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/SDK-Suppressions-Label.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
name: SDK Suppressions

on:
Expand Down Expand Up @@ -32,7 +32,7 @@
uses: ./.github/actions/setup-node-install-deps

- name: Get GitHub PullRequest Context
uses: actions/github-script@v7
uses: actions/github-script@v8
id: fetch-pullRequest-context
with:
script: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/_reusable-set-check-status.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Prefix with "~" to sort last in Actions list
name: ~Templates - Set Run Status

Expand Down Expand Up @@ -55,7 +55,7 @@
.github

- name: "Set Status"
uses: actions/github-script@v7
uses: actions/github-script@v8
id: set-status
with:
script: |
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/arm-auto-signoff-code.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
name: ARM Auto SignOff - Analyze Code

on:
Expand Down Expand Up @@ -35,11 +35,11 @@
sparse-checkout: |
.github

- name: Setup Node 20 and install deps
- name: Setup Node 24 and install deps
uses: ./.github/actions/setup-node-install-deps
with:
# actions/github-script@v7 uses Node 20
node-version: 20.x
# actions/github-script@v8 uses Node 24
node-version: 24.x
# "--no-audit": improves performance
# "--omit dev": not needed at runtime, improves performance
install-command: "npm ci --no-audit --omit dev"
Expand All @@ -48,7 +48,7 @@
# Output is "true" if PR contains only incremental changes to an existing TypeSpec RP
- id: incremental-typespec
name: ARM Auto SignOff - Analyze Code
uses: actions/github-script@v7
uses: actions/github-script@v8
with:
result-encoding: string
script: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/arm-auto-signoff-status.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
name: ARM Auto SignOff - Set Status

on:
Expand Down Expand Up @@ -74,7 +74,7 @@
# }
- id: get-label-action
name: ARM Auto SignOff - Set Status
uses: actions/github-script@v7
uses: actions/github-script@v8
with:
script: |
const { default: getLabelAction } =
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/avocado-code.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
name: "Swagger Avocado - Analyze Code"

on:
Expand Down Expand Up @@ -66,12 +66,12 @@
TRAVIS_REPO_SLUG: ${{ github.repository }}
TRAVIS_PULL_REQUEST_SHA: ${{ github.sha }}

- name: Setup Node 20 and install deps (under .github)
- name: Setup Node 24 and install deps (under .github)
if: ${{ always() && (steps.run-avocado.outputs.output-file) }}
uses: ./.github/actions/setup-node-install-deps
with:
# actions/github-script@v7 uses Node 20
node-version: 20.x
# actions/github-script@v8 uses Node 24
node-version: 24.x
# "--no-audit": improves performance
# "--omit dev": not needed at runtime, improves performance
install-command: "npm ci --no-audit --omit dev"
Expand All @@ -80,7 +80,7 @@
- name: Generate job summary
if: ${{ always() && (steps.run-avocado.outputs.output-file) }}
id: generate-job-summary
uses: actions/github-script@v7
uses: actions/github-script@v8
with:
script: |
const { default: generateJobSummary } =
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
name: "Breaking Change - Add Label Artifacts"

on:
Expand Down Expand Up @@ -38,7 +38,7 @@

- id: get-label-actions
name: Get Label Actions
uses: actions/github-script@v7
uses: actions/github-script@v8
with:
script: |
const { default: getLabelActions } =
Expand Down
16 changes: 9 additions & 7 deletions .github/workflows/github-test.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
name: GitHub Actions - Test

on:
Expand Down Expand Up @@ -46,17 +46,19 @@
args: -color -verbose

- if: ${{ matrix.folder == '.github' }}
name: Setup Node 20 and install runtime deps
name: Setup Node 24 and install runtime deps
uses: ./.github/actions/setup-node-install-deps
with:
# actions/github-script@v7 uses Node 20
node-version: 20.x
install-command: npm ci --omit dev
# actions/github-script@v8 uses Node 24
node-version: 24.x
# "--no-audit": improves performance
# "--omit dev": not needed at runtime, improves performance
install-command: "npm ci --no-audit --omit dev"
working-directory: ./${{ matrix.folder }}

- if: ${{ matrix.folder == '.github' }}
name: Verify all modules are importable
uses: actions/github-script@v7
uses: actions/github-script@v8
with:
script: |
const { join } = await import("path");
Expand All @@ -68,8 +70,8 @@
- name: Install dev deps
uses: ./.github/actions/setup-node-install-deps
with:
# actions/github-script@v7 uses Node 20
node-version: 20.x
# actions/github-script@v8 uses Node 24
node-version: 24.x
working-directory: ./${{ matrix.folder }}

- run: npm run lint
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lintdiff-code.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
name: "Swagger LintDiff - Analyze Code"

on:
Expand Down Expand Up @@ -42,7 +42,7 @@
uses: ./.github/actions/setup-node-install-deps

- name: Get changed files
uses: actions/github-script@v7
uses: actions/github-script@v8
with:
script: |
const { getChangedFiles } = await import('${{ github.workspace }}/.github/shared/src/changed-files.js');
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/sdk-breaking-change-labels.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
name: SDK Breaking Change Labels

on:
Expand Down Expand Up @@ -39,19 +39,19 @@
ADO_TOKEN=$(az account get-access-token --resource "499b84ac-1321-427f-aa17-267ca6975798" --query "accessToken" -o tsv)
echo "ADO_TOKEN=$ADO_TOKEN" >> "$GITHUB_ENV"

- name: Setup Node 20 and install deps
- name: Setup Node 24 and install deps
uses: ./.github/actions/setup-node-install-deps
with:
# actions/github-script@v7 uses Node 20
node-version: 20.x
# actions/github-script@v8 uses Node 24
node-version: 24.x
# "--no-audit": improves performance
# "--omit dev": not needed at runtime, improves performance
install-command: "npm ci --no-audit --omit dev"
working-directory: ./.github

- name: Get label and action
id: get-label-and-action
uses: actions/github-script@v7
uses: actions/github-script@v8
with:
script: |
const { getLabelAndAction } =
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/spec-gen-sdk-status.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
name: "SDK Validation Status"

on:
Expand Down Expand Up @@ -39,19 +39,19 @@
ADO_TOKEN=$(az account get-access-token --resource "499b84ac-1321-427f-aa17-267ca6975798" --query "accessToken" -o tsv)
echo "ADO_TOKEN=$ADO_TOKEN" >> "$GITHUB_ENV"

- name: Setup Node 20 and install deps
- name: Setup Node 24 and install deps
uses: ./.github/actions/setup-node-install-deps
with:
# actions/github-script@v7 uses Node 20
node-version: 20.x
# actions/github-script@v8 uses Node 24
node-version: 24.x
# "--no-audit": improves performance
# "--omit dev": not needed at runtime, improves performance
install-command: "npm ci --no-audit --omit dev"
working-directory: ./.github

- name: "SDK Validation Set Status"
id: sdk-validation-status
uses: actions/github-script@v7
uses: actions/github-script@v8
with:
script: |
const setStatus =
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/summarize-checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,19 +53,19 @@ jobs:
sparse-checkout: |
.github

- name: Setup Node 20 and install deps
- name: Setup Node 24 and install deps
uses: ./.github/actions/setup-node-install-deps
with:
# actions/github-script@v7 uses Node 20
node-version: 20.x
# actions/github-script@v8 uses Node 24
node-version: 24.x
# "--no-audit": improves performance
# "--omit dev": not needed at runtime, improves performance
install-command: "npm ci --no-audit --omit dev"
working-directory: ./.github

- id: dump-trigger-metadata
name: Dump Trigger Metadata
uses: actions/github-script@v7
uses: actions/github-script@v8
with:
script: |
const { default: dumpTriggerMetadata } =
Expand All @@ -74,7 +74,7 @@ jobs:

- id: summarize-checks
name: Summarize Checks
uses: actions/github-script@v7
uses: actions/github-script@v8
with:
script: |
const { default: summarizeChecks } =
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-labels.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:

- name: Update Labels
id: update-labels
uses: actions/github-script@v7
uses: actions/github-script@v8
with:
script: |
const { default: updateLabels } =
Expand Down