From 64c4333aea3798ff48086d142d1f41eb92c80ab3 Mon Sep 17 00:00:00 2001 From: Chris Garrity Date: Wed, 3 Jun 2020 11:02:26 -0400 Subject: [PATCH] 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 --- .circleci/config.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index ede9b13e..97fc8076 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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