fix: pre-landing review fixes (finish an open gate before a new head; neutral check for an unfinished gate)

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
This commit is contained in:
garrytanandcapy-ai[bot] committed 2026-11-03 03:48:22 +00:00
1 parent 080bc1c156
commit cbe0bc81ad
6 files changed
+57 -16

No files matched your search

+2 -1
View File
@@ -108,7 +108,8 @@ jobs:
run: |
case "$ACTION" in
gated) conclusion=success ;;
held|failed) conclusion=failure ;;
held) conclusion=failure ;;
failed) conclusion=neutral ;;
*) echo "::error::unknown release gate action '$ACTION'"; exit 1 ;;
esac
[[ "$SHA" =~ ^[0-9a-f]{40}$ ]] || { echo "::error::'$SHA' is not a commit SHA"; exit 1; }