Discussões » Feedback sobre o Greasy Fork
Webhooks for custom event like "Branch or tag creation"
Huh I guess I can make dev
the default public branch for collaboration as suggested in the topic you've linked.
Discussões » Feedback sobre o Greasy Fork
Huh I guess I can make dev
the default public branch for collaboration as suggested in the topic you've linked.
Webhooks for custom event like "Branch or tag creation"
Trying to use
Branch or tag creation
event in the webhook options on github fails to deliver the payload with a406 Not Acceptable
status from GF.I don't want to use the default
Push
event because it becomes a big problem if you publish on github or a similar site to provide a way to collaborate and test the master branch. For small-time fish like a userscript this is the easiest method as opposed to the more mature PR approach. However, a single commit may easily break something, which is why the master branch is considered a "trunk", "bleeding edge", "nightly". Then a tag is used to mark a point in the master branch where the code was tested enough to be released.It'd be helpful if GF could use webhooks for a custom event like
Branch or tag creation
. Its JSON request looks like this: