-
Notifications
You must be signed in to change notification settings - Fork 203
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
Fixes #3464 - Only reject an issue for action==closed #3465
Conversation
Thinking of how to add a test for this. |
a506aea
to
e67522a
Compare
e67522a
to
c7b1fa5
Compare
r? @karlcow (Note: i've tested this on staging, the latest version of this branch is deployed there if you'd also like to test) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@miketaylr Thanks for the fix.
Could we give better comments for each of the if in process issues actions.
Where we clearly explain what we do.
Also in the initial design, we were making sure that we could not by mistakes publish something which was rejected. Is it still the case?
- closing meant rejected
- milestone meant accepted.
Still the case. Cool. webcompat.com/webcompat/webhooks/model.py Lines 279 to 291 in c7b1fa5
|
Thanks Karl. Will add some comments then merge. |
Without this fix, it's possible to reject a previously closed issue, which is not what we want.