From f4bc7d2ea4ea476d9383b9fe290aa72c47378745 Mon Sep 17 00:00:00 2001 From: Keith Williams Date: Thu, 12 Sep 2024 15:25:10 -0300 Subject: [PATCH] chore: Remove PR reviewed automation (#16615) --- .github/workflows/pr-review.yml | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100644 .github/workflows/pr-review.yml diff --git a/.github/workflows/pr-review.yml b/.github/workflows/pr-review.yml deleted file mode 100644 index 7f64220c67..0000000000 --- a/.github/workflows/pr-review.yml +++ /dev/null @@ -1,28 +0,0 @@ -name: PR Reviewed - -on: - pull_request_review: - types: [submitted] - -jobs: - label-pr: - runs-on: ubuntu-latest - permissions: - actions: read - issues: write - pull-requests: write - steps: - - name: Label PR as ready for E2E - if: github.event.review.state == 'approved' - uses: actions/github-script@v4 - with: - script: | - await github.issues.addLabels({ - owner: context.repo.owner, - repo: context.repo.repo, - issue_number: context.issue.number, - labels: process.env.labels.split(', '), - }) - env: - github_token: ${{ secrets.READY_FOR_E2E_PAT }} - labels: 'ready-for-e2e'