Changelog action: Update master directly
@@ -50,11 +50,6 @@ jobs:
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
- run: |
- git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
- git config --local user.name "github-actions[bot]"
+ git add CHANGELOG.md && git commit -m 'Updated CHANGELOG.md'
git push origin master
+
