next-issue 7.8.11 → 7.8.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/gate.mjs +3 -2
  2. package/package.json +1 -1
package/dist/gate.mjs CHANGED
@@ -20,8 +20,9 @@ export async function checkGate(job, sha) {
20
20
  }
21
21
  return unreadChecks(job, error);
22
22
  }
23
- // The checks are known now, so an earlier halt on this issue no longer holds back other landings.
24
- if (job.state.halted === true) {
23
+ // Checks that finished leave the base known, so an earlier halt on this issue no longer holds back other landings.
24
+ const finished = checks === 'pass' || checks === 'none' || checks === 'fail';
25
+ if (finished && job.state.halted === true) {
25
26
  delete job.state.halted;
26
27
  await writeState(job.context.repo, job.state);
27
28
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "next-issue",
3
- "version": "7.8.11",
3
+ "version": "7.8.12",
4
4
  "description": "Autonomous issue harness driven by the pi SDK",
5
5
  "keywords": [
6
6
  "github",