mirror of
https://github.com/virt-manager/virt-manager.git
synced 2024-12-22 13:34:07 +03:00
ci: Regenerate .pot only after rebasing to 'translations' branch
Otherwise we will get conflicts Signed-off-by: Cole Robinson <crobinso@redhat.com>
This commit is contained in:
parent
25419db9ca
commit
4ac7a1fac2
5
.github/workflows/ci.yml
vendored
5
.github/workflows/ci.yml
vendored
@ -36,10 +36,11 @@ jobs:
|
||||
git config --global user.email "actions@github.com"
|
||||
git config --global user.name "Github Actions"
|
||||
|
||||
git commit po/virt-manager.pot \
|
||||
--message "Refresh translation .pot template"
|
||||
git fetch --all
|
||||
git rebase remotes/origin/translations
|
||||
|
||||
git commit po/virt-manager.pot \
|
||||
--message "Refresh translation .pot template"
|
||||
|
||||
remote_repo="https://${GITHUB_ACTOR}:${{ secrets.GITHUB_TOKEN }}@github.com/${GITHUB_REPOSITORY}.git"
|
||||
git push "${remote_repo}" HEAD:translations
|
||||
|
Loading…
Reference in New Issue
Block a user