Closed hugomd closed 7 years ago
I can confirm that this works for both GitLab and GitHub without issue 🎉
Hey @hugomd this is awesome, thanks so much for this feature! 🙌
I like that you added nodemon for the dev server. 👍
Everything looks really good. I want to test this out a little before merging, but from looking at it I don't think there's much I'd change.
@zpnk I've made all of the aforementioned changes — abstracted out cloneUrl
and alias
formatting, and I changed the way the env. variables are defined.
I double checked to see if it works, and it still does! 🎉
@hugomd Thanks for the changes! I'm going to merge this - really appreciate your hard work! 👏
Closes #9.
I'm using a rather long XOR statement inI realised that it makes more sense to allow one or both, which makes it easy to clean up the if statement 👍src/core.js
to check that eitherGITHUB_TOKEN
orGITLAB_TOKEN
are set, the same withGITHUB_WEBHOOK_SECRET
andGITLAB_WEBHOOK_SECRET
— not sure if there's a nicer way to do this?Any all and all feedback welcome ✌️