From 24e130cd2f9c38abef86931217ef9d03addbdb67 Mon Sep 17 00:00:00 2001 From: Tara Sophia Roshan Date: Mon, 22 Jan 2024 20:29:44 -0600 Subject: [PATCH] Workflow commits after update_locales cmd, no merge action --- .github/workflows/update_locales.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/update_locales.yml b/.github/workflows/update_locales.yml index 2380c317c..76f1a062b 100644 --- a/.github/workflows/update_locales.yml +++ b/.github/workflows/update_locales.yml @@ -18,15 +18,15 @@ jobs: - name: Run update_locales command run: ./bw-dev update_locales - - name: Create pull request + - name: Run update_locales and commit changes run: | git config user.email "github-actions[bot]@users.noreply.github.com" git config user.name "github-actions[bot]" git fetch origin main:main git switch main git fetch origin l10n_main:l10n_main - git checkout l10n_main locale/* - git commit -m "[GitHub Action] Update locales" - gh pr create -B main -H l10n_main --title 'Merge l10n_main into main' --body 'Created by Github action using the update-locales.yml workflow' + ./bw-dev update_locales + git add -A + git commit -a -m "[GitHub Action] Update locales" env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}