fix: skip stale production deployment events

This commit is contained in:
732642856
2026-07-20 03:29:23 +08:00
parent c65ebbf77c
commit a3f02eeb2f
2 changed files with 18 additions and 0 deletions
+2
View File
@@ -21,4 +21,6 @@ test("production deployment passes the tested revision into the web runtime", ()
assert.match(workflow, /get\("deployment", \{\}\)\.get\("gitCommit"/);
assert.match(workflow, /DEPLOY_GIT_SHA/);
assert.match(workflow, /Production revision did not converge/);
assert.match(workflow, /git ls-remote origin refs\/heads\/main/);
assert.match(workflow, /steps\.revision\.outputs\.deploy == 'true'/);
});