Skip to content

Commit

Permalink
remove unnecessary if statements
Browse files Browse the repository at this point in the history
  • Loading branch information
ryan-mcneil committed Nov 1, 2024
1 parent 8b46a7b commit 19b1bd4
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/backend-pr-labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand All @@ -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/|$//'
Expand Down

0 comments on commit 19b1bd4

Please sign in to comment.