From 5dea9710eab85d793ceebf13a1a4e79f0d0c7d40 Mon Sep 17 00:00:00 2001 From: aryan-canva <154877680+aryan-canva@users.noreply.github.com> Date: Thu, 3 Oct 2024 07:48:17 +0530 Subject: [PATCH] Update approved-label.yml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This is my first contribution to the project. I’ve added the pull_request: write permission to the GitHub Actions workflow to ensure that the 'approved' label is correctly added to pull requests after review approval. It was a great learning experience, and I look forward to contributing more! --- .github/workflows/approved-label.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/approved-label.yml b/.github/workflows/approved-label.yml index 9fbc5ed0ae8..bdeadab2909 100644 --- a/.github/workflows/approved-label.yml +++ b/.github/workflows/approved-label.yml @@ -4,6 +4,8 @@ jobs: add_label: name: Add "approved" label when approved runs-on: ubuntu-latest + permissions: + pull-requests: write steps: - name: Add "approved" label when approved uses: pullreminders/label-when-approved-action@master