This repository was archived by the owner on Feb 24, 2025. It is now read-only.
Passwords: Update save pixel with backfilled value #349
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Assign GitHub Reviewer to Asana Task | |
| on: | |
| pull_request: | |
| types: [review_requested] | |
| jobs: | |
| create-asana-pr-subtask-if-needed: | |
| name: "Create the PR subtask in Asana" | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Get Task ID | |
| id: get-task-id | |
| 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) | |
| echo "task_id=$task_id" >> $GITHUB_OUTPUT | |
| - name: Create or Update PR Subtask | |
| uses: duckduckgo/apple-toolbox/actions/asana-create-pr-subtask@main | |
| with: | |
| access-token: ${{ secrets.ASANA_ACCESS_TOKEN }} | |
| asana-task-id: ${{ steps.get-task-id.outputs.task_id }} | |
| github-reviewer-user: ${{ github.event.requested_reviewer.login }} |