ci(actions): Fix workflow deprecation follow-up
Some checks are pending
Actionlint / actionlint (push) Waiting to run
Skills Registry CI / pr-policy (push) Waiting to run
Skills Registry CI / source-validation (push) Blocked by required conditions
Skills Registry CI / artifact-preview (push) Blocked by required conditions
Skills Registry CI / main-validation-and-sync (push) Waiting to run
CodeQL / Analyze (go) (push) Waiting to run
CodeQL / Analyze (actions) (push) Waiting to run
CodeQL / Analyze (c-cpp) (push) Waiting to run
CodeQL / Analyze (javascript-typescript) (push) Waiting to run
CodeQL / Analyze (python) (push) Waiting to run
Deploy Web App to GitHub Pages / build (push) Waiting to run
Deploy Web App to GitHub Pages / deploy (push) Blocked by required conditions

Force GitHub Pages workflows onto Node 24 while the pages actions
still emit Node 20 deprecation warnings. Relax the workflow guard test
so it validates fetch-depth on checkout without pinning a specific
checkout major version.
This commit is contained in:
sickn33
2026-04-09 14:05:47 +02:00
parent 80c0ebd668
commit 0107845f32
3 changed files with 7 additions and 1 deletions

View File

@@ -18,6 +18,9 @@ concurrency:
group: "pages"
cancel-in-progress: false
env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true"
jobs:
build:
runs-on: ubuntu-latest

View File

@@ -18,6 +18,9 @@ concurrency:
group: "pages"
cancel-in-progress: false
env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true"
jobs:
build:
runs-on: ubuntu-latest

View File

@@ -135,7 +135,7 @@ assert.match(
);
assert.match(
ciWorkflow,
/source-validation:[\s\S]*?- uses: actions\/checkout@v4[\s\S]*?with:[\s\S]*?fetch-depth: 0/,
/source-validation:[\s\S]*?- uses: actions\/checkout@v\d+[\s\S]*?with:[\s\S]*?fetch-depth: 0/,
"source-validation should use an unshallowed checkout so base-branch diffs have a merge base",
);
assert.match(