chore(deps): absorb safe automation updates

This commit is contained in:
xixu-me committed 2026-03-31 02:06:29 +08:00
1 parent 270b0891fa
commit 6ddf1359ba
6 files changed
+26 -23

No files matched your search

+1 -1
View File
@@ -61,7 +61,7 @@ test('workflows opt into Node 24 for JavaScript-based GitHub Actions', () => {
test('CodeQL workflow uses advanced setup with repository-managed configuration', () => {
const workflow = read('.github/workflows/codeql.yml');
assert.match(workflow, /uses:\s*actions\/checkout@v5/);
assert.match(workflow, /uses:\s*actions\/checkout@v\d+/);
assert.match(workflow, /uses:\s*github\/codeql-action\/init@v4/);
assert.match(workflow, /uses:\s*github\/codeql-action\/analyze@v4/);
assert.match(workflow, /language:\s*actions/);
+1 -1
View File
@@ -28,7 +28,7 @@ test('security governance workflow enforces npm audit policy and uploads reports
assert.match(workflow, /name:\s+Security Governance/);
assert.match(workflow, /run:\s+npm run security:audit/);
assert.match(workflow, /actions\/upload-artifact@v6/);
assert.match(workflow, /actions\/upload-artifact@v\d+/);
assert.match(workflow, /cron:\s+'31 17 \* \* 1'/);
});