From 3f89576badb1e01174c09872b7063b6452055b3d Mon Sep 17 00:00:00 2001 From: Hayden <64056131+hay-kot@users.noreply.github.com> Date: Fri, 4 Jul 2025 19:11:34 -0500 Subject: [PATCH] fix workflow permissions --- .github/workflows/locale-sync.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/locale-sync.yml b/.github/workflows/locale-sync.yml index f76d1e4bd..f59935bba 100644 --- a/.github/workflows/locale-sync.yml +++ b/.github/workflows/locale-sync.yml @@ -3,10 +3,14 @@ name: Automatic Locale Sync on: schedule: # Run every Sunday at 2 AM UTC - - cron: '0 2 * * 0' + - cron: "0 2 * * 0" workflow_dispatch: # Allow manual triggering from the GitHub UI +permissions: + contents: write # To checkout, commit, and push changes + pull-requests: write # To create pull requests + jobs: sync-locales: runs-on: ubuntu-latest @@ -19,7 +23,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: '3.12' + python-version: "3.12" - name: Install Poetry uses: snok/install-poetry@v1