Skip to content

Commit

Permalink
fix: remove unnecessary echoes
Browse files Browse the repository at this point in the history
  • Loading branch information
botanical committed Nov 5, 2024
1 parent e1a59cc commit d41d629
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ jobs:
WORKFLOW_URL="${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"
body="### Workflow Status
**Starting workflow...** [View action run]($WORKFLOW_URL)"
echo "Body content: $body"
# Get the PR number
PR_NUMBER=${{ github.event.pull_request.number }}
Expand Down Expand Up @@ -132,7 +131,6 @@ jobs:
)
status_code=$(tail -n1 <<< "$response")
echo "Status code is: $status_code"
# Update status message based on response code
if [ "$status_code" -eq 200 ] || [ "$status_code" -eq 201 ]; then
Expand All @@ -143,7 +141,7 @@ jobs:
all_failed=false
else
echo "$collection_id failed to publish ❌"
status_message+="- **$collection_id**: Failed to publish ❌
status_message+="- **$collection_id**: Failed to publish. Error code $status_code.
"
fi
else
Expand Down

0 comments on commit d41d629

Please sign in to comment.