ci: Adds git config to changelog task
@@ -102,12 +102,14 @@ jobs:
- run: npm i -g doctoc
- run: github_changelog_generator -u ory -p hydra -o CHANGELOG.md --token $GITHUB_TOKEN
- run: doctoc CHANGELOG.md
+ - run: git config --global user.email "circleci@ory.am"
+ - run: git config --global user.name "ORY Continuous Integration"
- run: git add CHANGELOG.md
- run: |
git commit -m "docs: Incorporates changes from version $(git describe --tags)" -- CHANGELOG.md
- run: git remote rm origin
- run: git remote add origin https://arekkas:$GITHUB_TOKEN@github.com/ory/hydra.git
- - run: git push origin
+ - run: git push origin HEAD:master
workflows:
version: 2
