diff --git a/.github/workflows/auto-i18n.yml b/.github/workflows/auto-i18n.yml index 346557af2e..5fdbf36cfc 100644 --- a/.github/workflows/auto-i18n.yml +++ b/.github/workflows/auto-i18n.yml @@ -21,6 +21,8 @@ jobs: steps: - name: 🐈‍⬛ Checkout uses: actions/checkout@v5 + with: + ref: ${{ github.event.pull_request.head.ref }} - name: 📦 Setting Node.js uses: actions/setup-node@v4 @@ -38,7 +40,7 @@ jobs: git config --local user.email "action@github.com" git config --local user.name "GitHub Action" git add . - git commit -m "fix: Auto update i18n locales from GitHub Actions" + git commit -m "fix(i18n): Auto update translations for PR #${{ github.event.pull_request.number }}" - name: 🚀 Push changes uses: ad-m/github-push-action@master