Fix local artifact action inputs
Staging Backend Quality Gate / validate (pull_request) Successful in 13m30s
Staging Backend Quality Gate / publish (pull_request) Has been skipped

This commit is contained in:
Jesse_Chen
2026-08-06 01:38:36 +08:00
parent 9cc27ae1af
commit c1c2094b77
2 changed files with 13 additions and 0 deletions
@@ -210,6 +210,9 @@ test("Gitea quality gate validates before publishing an immutable ACR manifest",
assert.match(workflow, /get\("architecture"\)=="amd64"/);
assert.match(workflow, /node frontend\/scripts\/staging-image-manifest\.mjs/);
assert.match(workflow, /uses: \.\/\.gitea\/actions\/upload-artifact/);
assert.match(workflow, /INPUT_PATH: artifacts\/staging-images\/manifest\.env/);
assert.match(workflow, /['"]INPUT_IF-NO-FILES-FOUND['"]: error/);
assert.match(workflow, /INPUT_OVERWRITE: ['"]false['"]/);
assert.match(read(giteaUploadArtifactAction), /main: ['"]dist\/index\.js['"]/);
assert.match(read(giteaUploadArtifactAction), /81f940d004763f986ba3582c007fd842dd5cb0d7/);
assert.ok(existsSync(fileURLToPath(giteaUploadArtifactEntrypoint)));