ci(security): upgrade artifact upload action

This commit is contained in:
xixu-me committed 2026-03-31 01:42:22 +08:00
1 parent 9e24204f63
commit 39174fa55e
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -38,7 +38,7 @@ jobs:
- name: Upload security audit artifacts
if: always()
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v6
with:
name: security-audit-report
path: security-reports/
+1 -1
View File
@@ -26,7 +26,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@v4/);
assert.match(workflow, /actions\/upload-artifact@v6/);
assert.match(workflow, /cron:\s+'31 17 \* \* 1'/);
});