From a3a9510aa31ee2d811cc648185113121a7447c9f Mon Sep 17 00:00:00 2001 From: Kohei Asai Date: Sun, 18 Feb 2024 13:31:31 -0800 Subject: [PATCH] chore(gha): i18n workflow fix --- .github/workflows/i18n-download.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/i18n-download.yml b/.github/workflows/i18n-download.yml index dbaceff..95da726 100644 --- a/.github/workflows/i18n-download.yml +++ b/.github/workflows/i18n-download.yml @@ -8,7 +8,7 @@ jobs: name: Dictionary Download runs-on: ubuntu-latest permissions: - contents: read + contents: write pull-requests: write steps: - name: Checkout @@ -20,7 +20,7 @@ jobs: command: download args: --downloadFormat=single-language-json --downloadPath=./src/locales/{lang}/{ns}.json api-key: ${{ secrets.SIMPLELOCALIZE_API_KEY }} - - name: Upload the parsed dictionary files as artifacts + - name: Commit the changes and pushes a feature branch run: | git config --global user.name "${{ github.actor }}" git config --global user.email "${{ github.actor_id }}+${{ github.actor }}@users.noreply.github.com"