diff --git a/.github/workflows/labeler-approve.yml b/.github/workflows/labeler-approve.yml index 765df2bb7a1..15b092aa3b3 100644 --- a/.github/workflows/labeler-approve.yml +++ b/.github/workflows/labeler-approve.yml @@ -6,9 +6,13 @@ on: jobs: remove_label: + permissions: + pull-requests: write if: github.event.review.state == 'approved' runs-on: ubuntu-latest steps: - uses: actions-ecosystem/action-remove-labels@v1 with: - labels: "Status: Awaiting Changes" + labels: | + Status: Needs Review + Status: Awaiting Changes diff --git a/.github/workflows/labeler-changes.yml b/.github/workflows/labeler-changes.yml index eb68cb27fe0..b5f621d8bb7 100644 --- a/.github/workflows/labeler-changes.yml +++ b/.github/workflows/labeler-changes.yml @@ -6,6 +6,8 @@ on: jobs: update_label: + permissions: + pull-requests: write if: github.event.review.state == 'changes_requested' runs-on: ubuntu-latest steps: