Add missing github config

The username and email were missing, so translation commit failed.
Added a new workflow for the tx-pull-manual branch to verify it works
This commit is contained in:
Chris Garrity 2020-06-03 11:02:26 -04:00
parent 18cc778221
commit 64c4333aea

View file

@ -72,6 +72,8 @@ jobs:
- run:
name: "commit translation updates"
command: |
git config --global user.email $(git log --pretty=format:"%ae" -n1)
git config --global user.name $(git log --pretty=format:"%an" -n1)
git add .
git commit -m "pull new editor translations from Transifex"
git push $CIRCLE_REPOSITORY_URL HEAD:master
@ -96,6 +98,15 @@ workflows:
filters:
branches:
only: master
manual-pull:
jobs:
- pull-translations
- commit-translations:
requires:
- pull-translations
filters:
branches:
only: tx-pull-manual
weekly-tx-pull:
triggers:
- schedule: # weekly on Tuesdays at 8pm