Skip to content

Commit

Permalink
Revert "fix issue #60"
Browse files Browse the repository at this point in the history
This reverts commit 397cdc1.
  • Loading branch information
mfix22 committed Aug 31, 2020
1 parent 650fa7a commit 04a540e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions src/pull/labeled.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,12 +142,12 @@ module.exports.process = (robot) => async ({
(s) =>
s.conclusion !== CONCLUSION.SUCCESS &&
s.conclusion !== CONCLUSION.NEUTRAL &&
s.conclusion !== CONCLUSION.SKIPPED
// Currently check suites like https://github.com/NLog/NLog/pull/3296/checks were being
// queued and never concluding. You can see that in this API response:
// https://api.github.com/repos/NLog/Nlog/commits/2c8f7471648f22fa5dc9bf6db53e96fae061fc0a/check-suites
// Corresponding issue: https://github.com/mfix22/ranger/issues/60
// s.conclusion !== null
s.conclusion !== CONCLUSION.SKIPPED &&
// TODO remove this. Currently check suites like https://github.com/NLog/NLog/pull/3296/checks are being
// queued and never concluding. You can see that in this API response:
// https://api.github.com/repos/NLog/Nlog/commits/2c8f7471648f22fa5dc9bf6db53e96fae061fc0a/check-suites
// Corresponding issue: https://github.com/mfix22/ranger/issues/60
s.conclusion !== null
)
) {
throw new Retry()
Expand Down
2 changes: 1 addition & 1 deletion test/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -605,7 +605,7 @@ describe('pull_request', () => {
})

test.each([
// [null, true], was used for https://github.com/dawnlabs/ranger/issues/60
[null, true], // TODO https://github.com/dawnlabs/ranger/issues/60
[CONCLUSION.SUCCESS, true],
[CONCLUSION.NEUTRAL, true],
[CONCLUSION.TIMED_OUT, false],
Expand Down

0 comments on commit 04a540e

Please # to comment.