From 5891e940070e4e7c331b12df7d69b9c95006cb87 Mon Sep 17 00:00:00 2001 From: sonavalepratham Date: Sat, 14 Sep 2024 11:39:46 +0530 Subject: [PATCH] review changes --- .github/workflows/approved-label.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/approved-label.yml b/.github/workflows/approved-label.yml index a0f583c26a4..5cbec52387f 100644 --- a/.github/workflows/approved-label.yml +++ b/.github/workflows/approved-label.yml @@ -1,4 +1,6 @@ on: pull_request_review +permissions: + pull_request: write name: Add "approved" label when approved jobs: add_label: @@ -11,6 +13,4 @@ jobs: APPROVALS: "1" GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} ADD_LABEL: "approved" - REMOVE_LABEL: "" - permissions: - pull_request: write \ No newline at end of file + REMOVE_LABEL: "" \ No newline at end of file