Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prevent triggering builds on closed PRs [DI-248] (#40)
Skips all kind of event triggers for closed PRs, rather than just for comments as per jenkinsci/ghprb-plugin#54. I've not added a test to cover this, as there's no existing test coverage for `pull_request` events in `org.jenkinsci.plugins.ghprb.GhprbRootActionTest`, nor is there any example payloads in `org.jenkinsci.plugins.ghprb.GhprbTestUtil`. Fixes: jenkinsci/ghprb-plugin#865, [DI-248](https://hazelcast.atlassian.net/browse/DI-248) Post-merge actions: - [ ] Deploy in Jenkins - [ ] Test - [ ] Raise upstream PR [DI-248]: https://hazelcast.atlassian.net/browse/DI-248?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
- Loading branch information