GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix(ci-watch): wait for terminal rollup state before exiting · SocketDev/socket-patch@cd1fb43

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • scripts
    • ci-watch.sh
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎scripts/ci-watch.sh‎

Copy file name to clipboardExpand all lines: scripts/ci-watch.sh
+6-2Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,12 @@ while true; do
101101

102102
if [ "$merge" = 0 ]; then
103103
if [ "$total" -gt 0 ] && [ "$pending" = 0 ]; then
104-
if [ "$fail" = 0 ]; then echo "DONE checks pass ($total checks)"; exit 0; fi
105-
echo "DONE checks fail ($fail of $total failed)"; exit 1
104+
case "$rollup" in
105+
SUCCESS|FAILURE|ERROR)
106+
if [ "$fail" = 0 ]; then echo "DONE checks pass ($total checks)"; exit 0; fi
107+
echo "DONE checks fail ($fail of $total failed)"; exit 1
108+
;;
109+
esac
106110
fi
107111
fi
108112
sleep "$interval"

0 commit comments

Comments
0 (0)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.