-
- Downloads
feat: comment in closed PR when it is blocking an update (github) (#981)
This feature adds a new behaviour to Renovate, where it will now add a comment to any existing closed PRs that are "blocking" currently valid updates. A new API function "ensureComment" has been added, its purpose is so we can ensure there exists only one comment with a certain subject/heading. This lets us prevent duplicates as well as update existing, without having to keep state about it. ensureComment needs porting to gitlab, but should be quite easy.
Showing
- lib/api/github.js 50 additions, 0 deletionslib/api/github.js
- lib/api/gitlab.js 5 additions, 0 deletionslib/api/gitlab.js
- lib/workers/branch/check-existing.js 8 additions, 11 deletionslib/workers/branch/check-existing.js
- lib/workers/branch/index.js 11 additions, 1 deletionlib/workers/branch/index.js
- test/api/__snapshots__/github.spec.js.snap 32 additions, 0 deletionstest/api/__snapshots__/github.spec.js.snap
- test/api/github.spec.js 28 additions, 0 deletionstest/api/github.spec.js
- test/api/gitlab.spec.js 5 additions, 0 deletionstest/api/gitlab.spec.js
- test/workers/branch/check-existing.spec.js 7 additions, 7 deletionstest/workers/branch/check-existing.spec.js
- test/workers/branch/index.spec.js 13 additions, 3 deletionstest/workers/branch/index.spec.js
Loading
Please register or sign in to comment