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.
I've tested on a private Jenkins instance.
Submitter checklist
[x] Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main branch!
[x] Ensure that the pull request title represents the desired changelog entry
[x] Please describe what you did
[x] Link to relevant issues in GitHub or Jira
[x] Link to relevant pull requests, esp. upstream and downstream changes
[ ] Ensure you have provided tests - that demonstrates feature works or fixes the issue
Skips all kind of event triggers for closed PRs, rather than just for comments as per https://github.com/jenkinsci/ghprb-plugin/pull/54.
Fixes: https://github.com/jenkinsci/ghprb-plugin/issues/865
Testing done
I've not added a test to cover this, as there's no existing test coverage for
pull_request
events inorg.jenkinsci.plugins.ghprb.GhprbRootActionTest
, nor is there any example payloads inorg.jenkinsci.plugins.ghprb.GhprbTestUtil
. I've tested on a private Jenkins instance.Submitter checklist