diff --git a/.github/workflows/auto-merge-l10n.yml b/.github/workflows/auto-merge-l10n.yml index 44eb37c71..1d771f253 100644 --- a/.github/workflows/auto-merge-l10n.yml +++ b/.github/workflows/auto-merge-l10n.yml @@ -94,9 +94,16 @@ jobs: --approve \ --body "Auto-approved: l10n PR from trusted author with valid file paths" + - name: Generate GitHub App Token + id: app-token + uses: actions/create-github-app-token@v1 + with: + app-id: ${{ secrets.COMMIT_BOT_APP_ID }} + private-key: ${{ secrets.COMMIT_BOT_APP_PRIVATE_KEY }} + - name: Enable auto-merge env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GH_TOKEN: ${{ steps.app-token.outputs.token }} PR_NUMBER: ${{ github.event.pull_request.number }} REPO: ${{ github.repository }} run: |