message: update i18n-update gha
diff: @@ -18,17 +18,13 @@ jobs:
  - uses: actions/checkout@v2
  with:
  ref: ${{ github.head_ref }}
  + token: ${{ secrets.I18N_PAT }}
  - - name: Cache node_modules
  - uses: actions/cache@v2
  - env:
  - cache-name: cache-node_modules
  + - name: Setup Node
  + uses: actions/setup-node@v2
  with:
  - path: node_modules
  - key: ${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('yarn.lock')}}
  - restore-keys: |
  - ${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('yarn.lock')}}
  - ${{ runner.os }}-${{ env.cache-name }}-
  + node-version: 16.x
  + cache: yarn
  - name: Install
  run: yarn install --frozen-lockfile --prefer-offline
  @@ -36,6 +32,11 @@ jobs:
  - name: yarn i18n
  run: yarn i18n
  + - name: Check for new files
  + id: data
  + run: echo ::set-output name=porcelain::"$(git status --porcelain)"
  +
  - uses: stefanzweifel/git-auto-commit-action@v4
  + if: steps.data.outputs.porcelain
  with:
  commit_message: Apply i18n updates
  