#git (2020-06)
All things git (except gitops)
2020-06-25
![RB avatar](https://avatars.slack-edge.com/2020-02-26/958727689603_86844033e59114029b3c_72.png)
how does everyone start new projects here ? do you have a git repository template ? do you use a skeleton creator ? or do you wing it like the most of us ?
trying to find good ways to create new repositories using sane defaults. id also like to see if repos are compliant with user defined rules if possible.
![RB avatar](https://avatars.slack-edge.com/2020-02-26/958727689603_86844033e59114029b3c_72.png)
would love to hear thoughts on this
2020-06-29
![curious deviant avatar](https://secure.gravatar.com/avatar/411163c2cc441fcb6a78a5e2ee5f2661.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0001-72.png)
In our team, we frequently create /update TF modules that we maintain in GitHub. There are several teams consuming these modules. I am looking for a Slack- GitHub integration so that whenever we release an update the notification is published to a Slack channel. I tried googling but did not find anything pre-existing. Has anyone solved for something like this before ?
![Erik Osterman (Cloud Posse) avatar](https://secure.gravatar.com/avatar/88c480d4f73b813904e00a5695a454cb.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0023-72.png)
there are also org-level webhooks
![Erik Osterman (Cloud Posse) avatar](https://secure.gravatar.com/avatar/88c480d4f73b813904e00a5695a454cb.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0023-72.png)
you can tap into those and send them to Zapier
![Erik Osterman (Cloud Posse) avatar](https://secure.gravatar.com/avatar/88c480d4f73b813904e00a5695a454cb.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0023-72.png)
(we do this as well)
![curious deviant avatar](https://secure.gravatar.com/avatar/411163c2cc441fcb6a78a5e2ee5f2661.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0001-72.png)
I am not familiar with Zapier. I’ll check it out too.
![Erik Osterman (Cloud Posse) avatar](https://secure.gravatar.com/avatar/88c480d4f73b813904e00a5695a454cb.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0023-72.png)
We use the built-in RSS app in slack for that. See #releases
![Erik Osterman (Cloud Posse) avatar](https://secure.gravatar.com/avatar/88c480d4f73b813904e00a5695a454cb.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0023-72.png)
every repo has an atom feed for github releases
![curious deviant avatar](https://secure.gravatar.com/avatar/411163c2cc441fcb6a78a5e2ee5f2661.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0001-72.png)
Thank you Erik ! I’ll check it out !
![RB avatar](https://avatars.slack-edge.com/2020-02-26/958727689603_86844033e59114029b3c_72.png)
could use a github action using dependabot like loren suggests https://sweetops.slack.com/archives/CB6GHNLG0/p1593449185367400
Anyone using Dependabot with Terraform updates…? I’ve been trying to find some real-life examples and haven’t had a moment to try out yet anything, just wanted to check if someone has experience already. I might ask GitHub as well, they had their KB-forum…
![curious deviant avatar](https://secure.gravatar.com/avatar/411163c2cc441fcb6a78a5e2ee5f2661.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0001-72.png)
So the integration looks fairly simple for public repos. For private and internal repos however, RSS app requires basic auth. Is there a more secure way of setting up this integration ?
![Erik Osterman (Cloud Posse) avatar](https://secure.gravatar.com/avatar/88c480d4f73b813904e00a5695a454cb.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0023-72.png)
The “generic” answer would be to use Zapier. This is the ultimate swiss army knife.
![Erik Osterman (Cloud Posse) avatar](https://secure.gravatar.com/avatar/88c480d4f73b813904e00a5695a454cb.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0023-72.png)
We have hundreds of zaps at cloudposse
![curious deviant avatar](https://secure.gravatar.com/avatar/411163c2cc441fcb6a78a5e2ee5f2661.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0001-72.png)
sure. thank you . I’ll find out if my org would approve . Meanwhile I also found a couple of other options : 1 ) using an incoming webhook + lambda + api gateway 2) creating a Github action + using Bots to post the github event details to the channel. Looks like even Slack Bots are unapproved in my org . I might end up using the Slack Webhook integration.
![Erik Osterman (Cloud Posse) avatar](https://secure.gravatar.com/avatar/88c480d4f73b813904e00a5695a454cb.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0023-72.png)
I think the easiest would be tapping into the organization-level outgoing webhooks. you can capture every single release that way and send it somewhere.
![curious deviant avatar](https://secure.gravatar.com/avatar/411163c2cc441fcb6a78a5e2ee5f2661.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0001-72.png)
that sounds better. I’ll try that out.
![Erik Osterman (Cloud Posse) avatar](https://secure.gravatar.com/avatar/88c480d4f73b813904e00a5695a454cb.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0023-72.png)