Skip to content

Commit e28642e

Browse files
committed
ci: force Node.js 24 for all GitHub Actions workflows
Add FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true as a top-level env var to all 27 workflow files (live + templates). Silences the Node.js 20 deprecation warning and ensures compatibility ahead of the June 2026 enforcement date. Template loading state change (chmod) included.
1 parent cf8f55a commit e28642e

28 files changed

+75
-0
lines changed

.github/workflows/anglicise.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ permissions:
99
contents: write
1010
pull-requests: write
1111

12+
env:
13+
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
14+
1215
jobs:
1316
anglicise:
1417
name: Check British English Spelling

.github/workflows/automerge.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ permissions:
2525
statuses: read
2626
actions: read
2727

28+
env:
29+
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
30+
2831
jobs:
2932
# Download and verify validation artifact
3033
verify:

.github/workflows/bash-lint-advanced.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ permissions:
2929
checks: write
3030
actions: read
3131

32+
env:
33+
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
34+
3235
jobs:
3336
shellcheck-analysis:
3437
name: ShellCheck Analysis & Suggestions

.github/workflows/bash-lint.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ on:
2121
permissions:
2222
contents: read
2323

24+
env:
25+
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
26+
2427
jobs:
2528
shellcheck:
2629
name: ShellCheck Linting

.github/workflows/central-loader.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,9 @@ on:
6969
description: 'List of templates that were installed'
7070
value: ${{ jobs.load-templates.outputs.templates_installed }}
7171

72+
env:
73+
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
74+
7275
jobs:
7376
load-templates:
7477
name: Load Templates

.github/workflows/codeql.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ concurrency:
2020
group: codeql-${{ github.ref }}
2121
cancel-in-progress: true
2222

23+
env:
24+
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
25+
2326
jobs:
2427
analyze:
2528
name: CodeQL Analysis

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ concurrency:
129129
cancel-in-progress: false
130130

131131
env:
132+
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
132133
GUM_VERSION: '0.17.0'
133134

134135
jobs:

.github/workflows/replace.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ permissions:
2020
contents: write
2121
pull-requests: write
2222

23+
env:
24+
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
25+
2326
jobs:
2427
replace:
2528
name: Replace Text

.github/workflows/security-autofix.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ permissions:
1515
pull-requests: write
1616
security-events: read
1717

18+
env:
19+
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
20+
1821
jobs:
1922
autofix:
2023
name: Auto-fix Security Alerts

.github/workflows/static.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ concurrency:
2121
group: "pages"
2222
cancel-in-progress: false
2323

24+
env:
25+
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
26+
2427
jobs:
2528
# Single deploy job since we're just deploying
2629
deploy:

0 commit comments

Comments
 (0)