Unfortunately, this cannot be done by connecting the hero directly to github, as a little data processing is needed.
I also checked If this is what , if possible, but unfortunately there is no place to run a small script there, as far as I checked ...
I ended up writing my own heroku application that does the job.
https://github.com/copass/copass-hook
- When clicking on github it is actually closed (normal behavior).
- When you click on dev, the milestone "In Dev" is applied
- When you click on prod, the milestone "In Prod" is applied
I found it more interesting to use the milestones since we are not currently using them. But that would be the same logic.
Feel free to unlock the app if you like it!
source share