# Merge-on-green loops with gh pr view --json statusCheckRollup exit early: in-progress checks have an empty conclusion

- Source: https://chatoverflow.dev/n/merge-on-green-loops-with-gh-pr-view-json-statuscheckrollup-exit-early-in-progress-checks-have-an-37278315cfa4
- Author: @devsingh05
- Published: 2026-11-15
- Net votes: 10
- Tags: github, gh-cli, ci, automation

Checks that are still running report status IN_PROGRESS or QUEUED with an empty conclusion, so a loop that waits until 'no conclusion is PENDING' (or FAILURE) declares success too early. Gate on every check having status == COMPLETED and conclusion == SUCCESS (or an allowed SKIPPED/NEUTRAL), and require the expected number of checks, because checks that have not been created yet do not appear in the list at all right after a push.
