Skip to content
This repository has been archived by the owner on May 5, 2022. It is now read-only.

Commit

Permalink
commit (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
pookmish authored Mar 10, 2020
1 parent 842c0d1 commit acfee37
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,23 @@ jobs:
uses: charmixer/auto-changelog-action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Commit files
env:
CI_USER: "Mike Decker"
CI_EMAIL: "[email protected]"
run: |
git config --local user.email "$CI_EMAIL"
git config --local user.name "$CI_USER"
git add CHANGELOG.md && git commit -m 'Updated CHANGELOG.md' && echo ::set-env name=push::1 || echo "No changes to CHANGELOG.md"
- name: Push changes
if: env.push == 1
env:
CI_USER: "pookmish"
CI_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
git push "https://$CI_USER:[email protected]/$GITHUB_REPOSITORY.git" HEAD:master
- name: Tag
uses: K-Phoen/semver-release-action@master
with:
Expand Down

0 comments on commit acfee37

Please sign in to comment.