Skip to content

Commit

Permalink
Remove trailing whitespace from task URL in PR Task URL workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ayoy committed Feb 3, 2025
1 parent a96985f commit 5ce2a8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/macos_pr_task_url.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
BODY: ${{ github.event.pull_request.body }}
run: |
task_id=$(grep -i "task/issue url.*https://app.asana.com/" <<< "$BODY" \
| sed -E 's|.*https://(.*)|\1|' \
| perl -pe 's|.*?https://(.*?)\\r\\n.*|\1|' \
| cut -d '/' -f 4)
echo "task_id=$task_id" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit 5ce2a8d

Please sign in to comment.