From 60fff3b5b8181814cf5328ff8404501d46215b62 Mon Sep 17 00:00:00 2001 From: Michael Genson <71845777+michael-genson@users.noreply.github.com> Date: Sat, 31 Jan 2026 21:21:07 -0600 Subject: [PATCH] dev: Switch to bot token for locale sync (#6969) --- .github/workflows/locale-sync.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/locale-sync.yml b/.github/workflows/locale-sync.yml index e07b9edd9..477b9a1dc 100644 --- a/.github/workflows/locale-sync.yml +++ b/.github/workflows/locale-sync.yml @@ -15,10 +15,17 @@ jobs: sync-locales: runs-on: ubuntu-latest steps: + - name: Generate app token + uses: actions/create-github-app-token@v1 + id: app-token + with: + app-id: ${{ secrets.APP_ID }} + private-key: ${{ secrets.APP_PRIVATE_KEY }} + - name: Checkout repository uses: actions/checkout@v4 with: - token: ${{ secrets.GITHUB_TOKEN }} + token: ${{ steps.app-token.outputs.token }} - name: Set up Python uses: actions/setup-python@v5 @@ -105,7 +112,7 @@ jobs: - Updated frontend locale files - Generated from latest translation sources" \ env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GH_TOKEN: ${{ steps.app-token.outputs.token }} - name: No changes detected if: steps.changes.outputs.has_changes == 'false'