From e62692dc39964a43f3f186b88c29fef9fd233d83 Mon Sep 17 00:00:00 2001 From: Mahesh Kasbe <60398112+maheshkasabe@users.noreply.github.com> Date: Sun, 2 Jul 2023 19:15:31 +0530 Subject: [PATCH] Update label_on_branch.yaml --- .github/workflows/label_on_branch.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/label_on_branch.yaml b/.github/workflows/label_on_branch.yaml index 9cafd71..576227e 100644 --- a/.github/workflows/label_on_branch.yaml +++ b/.github/workflows/label_on_branch.yaml @@ -3,13 +3,12 @@ on: pull_request_target permissions: contents: read + pull-requests: write jobs: pr-labeler: - permissions: - contents: read # for TimonVS/pr-labeler-action to read config file - pull-requests: write # for TimonVS/pr-labeler-action to add labels in PR runs-on: ubuntu-latest + steps: - name: branch-label - uses: TimonVS/pr-labeler-action@v4