From f2f28220901e898cade515328f7aadadfddd6c3e Mon Sep 17 00:00:00 2001 From: Cole Robinson Date: Sun, 12 Jul 2020 13:59:35 -0400 Subject: [PATCH] ci: Commit extracted messages after rebase Otherwise rebase fails because state is dirty Signed-off-by: Cole Robinson --- .github/workflows/ci.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9880da93b..b0c7c266b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,10 +28,7 @@ jobs: # branch updating fetch-depth: 0 - - name: Extract messages - run: ./setup.py extract_messages - - - name: Push to translations branch + - name: Extract messages and push to translations branch run: | git config --global user.email "actions@github.com" git config --global user.name "Github Actions" @@ -39,6 +36,7 @@ jobs: git fetch --all git rebase remotes/origin/translations + ./setup.py extract_messages git commit po/virt-manager.pot \ --message "Refresh translation .pot template"