chore(deps): update goreleaser/goreleaser-action action to v5 (#619) #65
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Generate on commit to master | |
on: | |
push: | |
branches: | |
- master | |
workflow_dispatch: | |
jobs: | |
GenerateOnMaster: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
token: ${{ secrets.GH_TOKEN_EXTRA }} | |
fetch-depth: 0 | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: 1.19 | |
id: go | |
- run: make format | |
- name: Commit & Push changes | |
run: | | |
if [[ ! -z $(git status --porcelain) ]]; then | |
git config --local user.email [email protected] | |
git config --local user.name elasticcloudclients | |
git add NOTICE | |
git commit -m "Update NOTICE" | |
git push | |
fi |