ci(actions): Fix workflow deprecation follow-up
Some checks failed
Actionlint / actionlint (push) Has been cancelled
Skills Registry CI / pr-policy (push) Has been cancelled
Skills Registry CI / main-validation-and-sync (push) Has been cancelled
CodeQL / Analyze (go) (push) Has been cancelled
CodeQL / Analyze (actions) (push) Has been cancelled
CodeQL / Analyze (c-cpp) (push) Has been cancelled
CodeQL / Analyze (javascript-typescript) (push) Has been cancelled
CodeQL / Analyze (python) (push) Has been cancelled
Deploy Web App to GitHub Pages / build (push) Has been cancelled
Skills Registry CI / source-validation (push) Has been cancelled
Skills Registry CI / artifact-preview (push) Has been cancelled
Deploy Web App to GitHub Pages / deploy (push) Has been cancelled
Update Star History Chart / update-star-history (push) Has been cancelled

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

@@ -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(