Hello everyone !
I’m currently developping a changelog application that used the webhook : releaseEvent to recover data.
The 18 April of 2019 new releaseEvent actions where added (https://developer.github.com/changes/) : created, ** edited, deleted, prereleased, **unpublished
I just want to receive a webhook when a prerelease change to release (prerelease -> release) but :
- The edited action is triggered only on name and body modification ( not the prerelease parameter )
- The prereleased action is triggered only when a release change to prerelease BUT NOT THE REVERSE
Is there something I’m missing ?
What is the point of the prereleased action ? (release -> prerelease shouldn’t happen that much)
Response from GitHub Support :
Thanks for reaching out, Leo. Please find answers and notes inline below.
- Is there something I’m missing ?
I don’t think you’re missing anything. I agree it would be useful if there was a way to get notified when a prerelease is made into a full release, so I passed your feedback along to the team to consider for the future.
- What is the point of the prereleased action ? (release -> prerelease shouldn’t happen that much)
The point is to be notified when release is made into a prerelease. I understand that this doesn’t seem useful to you, but different users have different use-cases and those other users find it useful. How often something happens doesn’t really make a webhook more or less useful. Even if it happens rarely - you want to be notified when it happens.
Thanks again for taking the time to share your feedback.
A new action " released" have been added for the webhook releaseEvent and is sent when a prerelease change to a release.
Thank to the development team