From ddb5afa30df1d3bc1d9ad88684e5383893285f1f Mon Sep 17 00:00:00 2001 From: Markus Meissner Date: Sat, 23 Nov 2024 22:12:30 +0100 Subject: [PATCH] foo --- .github/workflows/build.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ef3a0ba471..5510e7d899 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -72,12 +72,14 @@ jobs: rm -rf locales/.doctrees - name: TODO - commit locales into repository + shell: bash run: | git config --global --add safe.directory $(pwd) git config --global user.name "GitHub Action" git config --global user.email "gh-action@noreply.gh.com" - git commit -m "Automated locales generation" locales - git push + if (git commit -m "Automated locales generation" locales); then + git push + fi - name: put original locales back run: |