Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent triggering builds on closed PRs #1

Closed
wants to merge 1 commit into from

Conversation

JackPGreen
Copy link
Owner

Skips all kind of event triggers for closed PRs, rather than just for comments as per jenkinsci#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#865

Skips all kind of event triggers for closed PRs, rather than just for comments as per jenkinsci#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#865
@JackPGreen JackPGreen added the enhancement New feature or request label Sep 5, 2024
@JackPGreen JackPGreen self-assigned this Sep 5, 2024
@JackPGreen JackPGreen closed this Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Prevent triggering builds on closed PRs
1 participant