Skip to content

Commit

Permalink
fix: adding push pack of changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
mabunixda committed Jul 20, 2022
1 parent 85faf7f commit c6ecb39
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ jobs:
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
changelog-file: CHANGELOG.md
changelog-generator-opt: "emojis=true"

- name: Prepare Dockerhub
id: prep
Expand Down Expand Up @@ -74,4 +73,11 @@ jobs:
context: .
file: ./Dockerfile
push: ${{ github.event_name != 'pull_request' && steps.semrel.outputs.version != '' }}
tags: ${{ steps.prep.outputs.tags }}
tags: ${{ steps.prep.outputs.tags }}

- name: Update changelog
uses: stefanzweifel/git-auto-commit-action@v4
if: github.event_name != 'pull_request' && steps.semrel.outputs.version != ''
with:
commit_message: 'chore(ci): commit changes from go-semantic-release'
file_pattern: CHANGELOG.md

0 comments on commit c6ecb39

Please sign in to comment.