From de33e6775f8fac8c14251ef9f7ca2f46cf8ff43c Mon Sep 17 00:00:00 2001 From: Nikhil <118773738+pablohashescobar@users.noreply.github.com> Date: Mon, 2 Oct 2023 14:40:31 +0530 Subject: [PATCH] dev: update add permissions to the action (#2337) --- .github/workflows/create-sync-pr.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/create-sync-pr.yml b/.github/workflows/create-sync-pr.yml index 987984d000..caa872d2f5 100644 --- a/.github/workflows/create-sync-pr.yml +++ b/.github/workflows/create-sync-pr.yml @@ -10,6 +10,9 @@ jobs: # Only run the job when a PR is merged if: github.event.pull_request.merged == true runs-on: ubuntu-latest + permissions: + pull-requests: write + contents: read steps: - name: Checkout Code uses: actions/checkout@v2