feat: support timeout for pr creation = not-pending (#748)
We should not leave the PR unopened forever if the branch remains in not-pending state too long. Some status checks may leave the status as “pending” instead of “failed”. Defaults to 12 hours but is configurable. Closes #747
Showing
- docs/configuration.md 9 additions, 0 deletionsdocs/configuration.md
- lib/api/github.js 18 additions, 2 deletionslib/api/github.js
- lib/api/gitlab.js 13 additions, 0 deletionslib/api/gitlab.js
- lib/config/definitions.js 6 additions, 0 deletionslib/config/definitions.js
- lib/workers/pr/index.js 18 additions, 2 deletionslib/workers/pr/index.js
- test/api/__snapshots__/github.spec.js.snap 2 additions, 0 deletionstest/api/__snapshots__/github.spec.js.snap
- test/api/__snapshots__/gitlab.spec.js.snap 2 additions, 0 deletionstest/api/__snapshots__/gitlab.spec.js.snap
- test/api/github.spec.js 26 additions, 0 deletionstest/api/github.spec.js
- test/api/gitlab.spec.js 45 additions, 0 deletionstest/api/gitlab.spec.js
- test/workers/package/__snapshots__/index.spec.js.snap 4 additions, 0 deletionstest/workers/package/__snapshots__/index.spec.js.snap
- test/workers/pr/index.spec.js 11 additions, 0 deletionstest/workers/pr/index.spec.js
Loading
Please register or sign in to comment