@@ -122,6 +122,10 @@ tasks:
122122 msg: Not on main branch
123123 - sh: "[ $(git status --porcelain=2 | wc -l) = 0 ]"
124124 msg: "Git is dirty"
125+ - sh: 'gh run list --workflow build.yml --commit $(git rev-parse HEAD) --status success --json conclusion -q ".[0].conclusion" | grep -q success'
126+ msg: "Test build for this commit failed or not present"
127+ - sh: 'gh run list --workflow snapshot.yml --commit $(git rev-parse HEAD) --status success --json conclusion -q ".[0].conclusion" | grep -q success'
128+ msg: "Snapshot build for this commit failed or not present"
125129 cmds:
126130 - task: fetch-tags
127131 - git commit --allow-empty -m "{{.NEXT}}"