diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index acff7835d7..feda5609bd 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -3,6 +3,9 @@ on: push: branches: [ main, develop, gh-build ] +permissions: + contents: write + concurrency: group: ${{ github.ref }} cancel-in-progress: true @@ -62,7 +65,11 @@ jobs: rm -rf locales/.doctrees - name: TODO - commit locales into repository - run: echo "commit it" + run: | + 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 - name: put original locales back run: |