fix(ci): provide Gitea context to deploy dispatch
Staging Backend Quality Gate / validate (push) Successful in 12m15s
Staging Backend Quality Gate / publish (push) Successful in 2m10s

This commit is contained in:
Jesse_Chen
2026-08-13 12:43:18 +08:00
parent 945f8974d4
commit c8bd8e8a2b
2 changed files with 4 additions and 0 deletions
@@ -606,6 +606,8 @@ test("Gitea staging deployment is dispatched from staging after the exact push g
assert.match(workflow, /WEB_IMAGE: \$\{\{ steps\.images\.outputs\.web_image \}\}/);
assert.match(quality, /Dispatch exact-SHA staging deployment/);
assert.match(quality, /GITEA_API_URL: \$\{\{ gitea\.api_url \}\}/);
assert.match(quality, /GITEA_REPOSITORY: \$\{\{ gitea\.repository \}\}/);
assert.match(quality, /GITEA_TOKEN: \$\{\{ secrets\.GITEA_TOKEN \}\}/);
assert.match(quality, /staging advanced before deployment dispatch; refusing stale release/);
assert.match(quality, /actions\/workflows\/deploy-staging\.yml\/dispatches\?return_run_details=true/);