From 19b1bd45c3dc782a3c11cd92e0c47fde857866d8 Mon Sep 17 00:00:00 2001 From: Ryan McNeil Date: Thu, 31 Oct 2024 18:54:59 -0600 Subject: [PATCH] remove unnecessary if statements --- .github/workflows/backend-pr-labeler.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/backend-pr-labeler.yml b/.github/workflows/backend-pr-labeler.yml index 855a0ee31e5..a00fd198318 100644 --- a/.github/workflows/backend-pr-labeler.yml +++ b/.github/workflows/backend-pr-labeler.yml @@ -89,7 +89,6 @@ jobs: # If backend-review-group approval is required, get reviews - name: Get PR Reviews - if: contains(github.event.pull_request.labels.*.name, 'require-backend-approval') id: get_pr_reviews uses: octokit/request-action@v2.x with: @@ -99,7 +98,6 @@ jobs: # If backend-review-group approval is required, get team members - name: Get backend-review-group members - if: contains(github.event.pull_request.labels.*.name, 'require-backend-approval') id: get_team_members uses: octokit/request-action@v2.x with: @@ -109,7 +107,6 @@ jobs: # If backend-review-group approval is required, confirm an approval exists from at least one BE team member - name: Verify backend-review-group approval - if: contains(github.event.pull_request.labels.*.name, 'require-backend-approval') id: verify_approval run: | BACKEND_REVIEWERS=$(cat <<'EOF' | jq -r '.[].login' | tr '\n' '|' | sed 's/|$//'