Skip to content

Commit

Permalink
Fix redundant e2e report notifications.
Browse files Browse the repository at this point in the history
  • Loading branch information
alantreadway committed Jun 21, 2024
1 parent 63348bb commit 3a3a224
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ jobs:
echo "workflowStatus=${WORKFLOW_STATUS}" >> $GITHUB_OUTPUT
STATUSES=$(gh run list --workflow .github/workflows/e2e.yml -b latest -s completed --json conclusion,status | jq -r '.[] | .conclusion')
LAST_WORKFLOW_STATUS=$(echo "$STATUSES" | grep -v "cancelled" | head -1 | awk '{print $2}')
LAST_WORKFLOW_STATUS=$(echo "$STATUSES" | grep -v "cancelled" | head -1)
if [ "$GITHUB_RUN_ATTEMPT" -ge 2 ]; then
# Handle re-run cases - there is no way to query the previous run status, so we assume the most
Expand Down

0 comments on commit 3a3a224

Please sign in to comment.