Skip to content

Commit 47edc50

Browse files
heitorlessasthulb
authored andcommitted
chore(ci): fix PR labeling permission scope (#2396)
1 parent 7c5090d commit 47edc50

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/label_pr_on_title.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
needs: get_pr_details
4444
runs-on: ubuntu-latest
4545
permissions:
46-
issues: write # label respective PR
46+
pull-requests: write # label respective PR
4747
steps:
4848
- name: Checkout repository
4949
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2

.github/workflows/on_merged_pr.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ jobs:
4242
runs-on: ubuntu-latest
4343
permissions:
4444
pull-requests: write # make a comment in PR if unable to find related issue
45+
issues: write # label issue with pending-release
4546
if: needs.get_pr_details.outputs.prIsMerged == 'true'
4647
steps:
4748
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2

0 commit comments

Comments
 (0)