build(deps): bump @actions/github from 9.0.0 to 9.1.0 in the github-actions group #242
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: Asana Sync | |
| on: | |
| pull_request: | |
| types: [opened, edited, closed] | |
| jobs: | |
| sync: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Sync PR to Asana | |
| uses: ./ | |
| with: | |
| asana_token: ${{ secrets.ASANA_TOKEN }} | |
| github_token: ${{ github.token }} | |
| integration_secret: ${{ secrets.ASANA_INTEGRATION_SECRET }} | |
| rules: | | |
| rules: | |
| # When PR opens or reopens β Set to "In Review" and attach PR | |
| - when: | |
| event: pull_request | |
| action: [opened, reopened] | |
| draft: false | |
| then: | |
| attach_pr_to_tasks: true | |
| update_fields: | |
| '1202887490284881': 'In Review' # Status β "In Review" | |
| # When PR is edited (e.g., Asana link added) β Set to "In Review" and attach PR | |
| - when: | |
| event: pull_request | |
| action: edited | |
| draft: false | |
| then: | |
| attach_pr_to_tasks: true | |
| update_fields: | |
| '1202887490284881': 'In Review' # Status β "In Review" | |
| # When draft PR is marked ready for review β Set to "In Review" and attach PR | |
| - when: | |
| event: pull_request | |
| action: ready_for_review | |
| then: | |
| attach_pr_to_tasks: true | |
| update_fields: | |
| '1202887490284881': 'In Review' # Status β "In Review" | |
| # When PR merges β Set to "Ready" | |
| - when: | |
| event: pull_request | |
| action: closed | |
| merged: true | |
| then: | |
| update_fields: | |
| '1202887490284881': 'Ready' # Status β "Ready" |