DEV Community

Discussion on: 🚀 GitHub Action for release your Go projects as fast and easily as possible

Collapse
 
arnested profile image
Arne Jørgensen

[...] GitHub automatically creates a GITHUB_TOKEN secret to use in your workflow, but I recommend to create your own token [...]

I'm curious why you recommend that?

Collapse
 
koddr profile image
Vic Shóstak

Hi! Thank you for asking.

Now I've reread this place in my article and I don't really understand either :)

Usually, I use several secret variables for various manipulations of the repository. So, I am already used to making a new key.

If you don't need it, you may not follow my recommendation, but I wrote this "as for myself from the past" :D

Collapse
 
bryanbraun profile image
Bryan Braun

I was looking into this and I noticed that the README for goreleaser-action says that you may need to generate your own token if you want to publish to an external repo (which you'd need to do if you are publishing your project to homebrew, for example).