mirror of
https://github.com/garrytan/gstack.git
synced 2026-11-08 01:38:10 +01:00
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:
1 parent
080bc1c156
commit
cbe0bc81ad
6 files changed
+57
-16
No files matched your search
@@ -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; }
|
||||
|
||||
Reference in new issue
Block a user