Skip to content
This repository has been archived by the owner on Jun 9, 2021. It is now read-only.

Comments on closed/merged issues trigger Commented event #42

Closed
derekln1 opened this issue Jul 29, 2015 · 4 comments
Closed

Comments on closed/merged issues trigger Commented event #42

derekln1 opened this issue Jul 29, 2015 · 4 comments

Comments

@derekln1
Copy link

Hi Tomas,

One of our users just saw that we can trigger a commented event on a pull request that has already been merged. I was able to reproduce it.

When you get a chance, can you look into updating the hook to ignore commented events on a closed pull request?

Thanks,
Derek

@tomasbjerre
Copy link
Owner

Im not sure if this should be configurable or not. Perhaps I just add it without configuration and if someone complains I'll add configuration for it. What do you think?

@derekln1
Copy link
Author

derekln1 commented Aug 3, 2015

i think it's ok to add it without configuration. I don't see a case where someone would want to trigger builds on a pull request that is in the Closed state.

Btw, also seeing builds for Closed pull requests getting triggered on RESCOPED_FROM events.

thanks

@tomasbjerre
Copy link
Owner

Released in version 1.17 =)

@derekln1
Copy link
Author

derekln1 commented Aug 4, 2015

Awesome. Thanks Tomas!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants