go-semantic-release / hooks-goreleaser

🚢 GoReleaser hooks plugin
MIT License
4 stars 1 forks source link

Usage with github action #1

Closed grzesuav closed 1 year ago

grzesuav commented 2 years ago

Hi,

there isn't any documentation around that, how I can configure this plugin to be used in github action ?

christophwitzko commented 1 year ago

Hi @grzesuav, sorry for the late reply.

You can use set the hooks config option:

- uses: go-semantic-release/action@v1
  with:
    hooks: goreleaser
  env:
    GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

I also added it to the documentation of the action https://github.com/go-semantic-release/action#arguments