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 9f05112
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/macos_pr_task_url.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ jobs:
env:
BODY: ${{ github.event.pull_request.body }}
run: |
task_id=$(grep -i "task/issue url.*https://app.asana.com/" <<< "$BODY" \
| sed -E 's|.*https://(.*)|\1|' \
| cut -d '/' -f 4)
task_id="$(echo "$BODY" \
| perl -pe 's|.*?([0-9/]+)\\r\\n.*|\1|' \
| cut -d '/' -f 4)"
echo "task_id=$task_id" >> $GITHUB_OUTPUT
- name: Check App Board Project Membership
Expand Down

0 comments on commit 9f05112

Please sign in to comment.