fix: add checks if pr branch still exists (gitlab)
in GitLab, a PR may be open while the branch itself has been removed. We cant just assume that the branch exists because the PR does, even if it’s an edge case.
Showing
- lib/platform/gitlab/index.js 15 additions, 3 deletionslib/platform/gitlab/index.js
- lib/workers/branch/index.js 4 additions, 2 deletionslib/workers/branch/index.js
- test/platform/gitlab/__snapshots__/index.spec.js.snap 17 additions, 28 deletionstest/platform/gitlab/__snapshots__/index.spec.js.snap
- test/platform/gitlab/index.spec.js 29 additions, 4 deletionstest/platform/gitlab/index.spec.js
Loading
Please register or sign in to comment