Skip to content

Commit

Permalink
remove spaces after ||
Browse files Browse the repository at this point in the history
  • Loading branch information
ryan-mcneil committed Nov 8, 2024
1 parent f2ab5de commit a54514c
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/backend-pr-labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,9 @@ jobs:
echo "pr_number: ${{ steps.get_pr_data.outputs.pr_number }}"
echo "pr_draft: ${{ steps.get_pr_data.outputs.pr_draft }}"
echo "pr_labels: ${{ steps.get_pr_data.outputs.pr_labels }}"
echo "pr_labels: ${{ fromJson(steps.get_pr_data.outputs.pr_labels)[0] }}"
echo "pr_requested_teams: ${{ steps.get_pr_data.outputs.pr_requested_teams }}"
echo "pr_requested_teams: ${{ fromJSON(steps.get_pr_data.outputs.pr_requested_teams)[0] }}"
- name: Get Code Checks conclusion
if: github.event_name == 'workflow_run'
Expand All @@ -77,10 +79,10 @@ jobs:
labels: ${{ steps.get_pr_data.outputs.pr_labels }}
run: |
if [[ \
${{ contains(env.labels, 'code-health-failure') }} || \
${{ contains(env.labels, 'codeowners-addition-failure') }} || \
${{ contains(env.labels, 'codeowners-delete-failure') }} || \
${{ contains(env.labels, 'lint-failure') }} || \
${{ contains(env.labels, 'code-health-failure') }} ||\
${{ contains(env.labels, 'codeowners-addition-failure') }} ||\
${{ contains(env.labels, 'codeowners-delete-failure') }} ||\
${{ contains(env.labels, 'lint-failure') }} ||\
${{ contains(env.labels, 'test-failure') }} \
]]; then
echo "failures_detected=true" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit a54514c

Please sign in to comment.