Skip to content

The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:

fix translations workflow permissions (#67794)

Ryan Laurie69abc4cf1c4f
diff --git a/.github/workflows/translation-update.yml b/.github/workflows/translation-update.yml
index a0008155eb9..e448ff8df21 100644
--- a/.github/workflows/translation-update.yml
+++ b/.github/workflows/translation-update.yml
@@ -15,8 +15,8 @@ jobs:
BRANCH_NAME: update-translations-${{ github.run_id }}
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_TOKEN }}
- GITHUB_TOKEN: ${{ github.token }}
- GH_TOKEN: ${{ github.token }}
+ GITHUB_TOKEN: ${{ secrets.METABASE_AUTOMATION_USER_TOKEN }}
+ GH_TOKEN: ${{ secrets.METABASE_AUTOMATION_USER_TOKEN }}
runs-on: ubuntu-22.04
timeout-minutes: 20
steps:
@@ -107,7 +107,7 @@ jobs:
- name: Auto approve PR
uses: juliangruber/approve-pull-request-action@v1
with:
- github-token: ${{ secrets.METABASE_AUTOMATION_USER_TOKEN }}
+ github-token: ${{ github.token }}
number: ${{ steps.create_pr.outputs.pr_number }}
- name: Enable Pull Request Automerge