From 9c233490006408452d7d7eba77395a98453740ba Mon Sep 17 00:00:00 2001 From: Beth Cimini Date: Fri, 29 Mar 2024 11:00:50 -0400 Subject: [PATCH] Update push-translations.yml --- .github/workflows/push-translations.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/push-translations.yml b/.github/workflows/push-translations.yml index 2db12aad..2384de14 100644 --- a/.github/workflows/push-translations.yml +++ b/.github/workflows/push-translations.yml @@ -37,10 +37,12 @@ jobs: sphinx-intl update -p _build/gettext rm conf.py - - name: Push translations + - name: Push translations to a branch (branch protection) run: | git config user.name github-actions git config user.email github-actions@github.com + git checkout -b auto_translation git add . git commit -m "auto generated translation file updates" - git push + git push -u origin auto_translation + gh pr create --title "Auto-translations" --body "Made by GH Actions"