mirror of
https://github.com/scratchfoundation/scratch-l10n.git
synced 2025-01-09 06:02:15 -05:00
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:
parent
18cc778221
commit
64c4333aea
1 changed files with 11 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue