From 18f27a6c530f54b99e022c42f9d090362c736d22 Mon Sep 17 00:00:00 2001 From: gitclonebrian <235774926+gitclonebrian@users.noreply.github.com> Date: Fri, 14 Nov 2025 15:25:21 -0500 Subject: [PATCH] added permissions to token generation step to limit token scope --- .github/workflows/crowdin-pull.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/crowdin-pull.yml b/.github/workflows/crowdin-pull.yml index 80542a7ae3..c52a35aac7 100644 --- a/.github/workflows/crowdin-pull.yml +++ b/.github/workflows/crowdin-pull.yml @@ -50,6 +50,8 @@ jobs: with: app-id: ${{ steps.get-kv-secrets.outputs.BW-GHAPP-ID }} private-key: ${{ steps.get-kv-secrets.outputs.BW-GHAPP-KEY }} + permission-contents: write # for creating and pushing a new branch + permission-pull-requests: write # for creating pull request - name: Download translations uses: crowdin/github-action@0749939f635900a2521aa6aac7a3766642b2dc71 # v2.11.0