Skip to content

Version bump to v0.33.0 #639

Version bump to v0.33.0

Version bump to v0.33.0 #639

Workflow file for this run

on:
pull_request:
branches:
- main
types:
- opened
- closed
jobs:
update_task_on_pr_open:
if: ${{ github.event.pull_request.state == 'open' }}
runs-on: ubuntu-latest
steps:
- uses: panther-labs/github-asana-action@v3.0.7
name: Adds a comment to the related Asana task whenever a PR has been opened
with:
asana-pat: ${{ secrets.ASANA_PAT }}
action: "add-comment"
text: ${{ format('A Pull Request has been opened {0}', github.event.pull_request.html_url) }}
is-pinned: true
- uses: panther-labs/github-asana-action@v3.0.7
name: Moves the Asana task to "In Review" when the PR is opened
with:
asana-pat: ${{ secrets.ASANA_PAT }}
action: "move-section"
targets: '[{"projectNameRegex": "(S|s)print", "section": "In Review"}]'
update_task_on_pr_close:
if: ${{ github.event.pull_request.state == 'closed' }}
runs-on: ubuntu-latest
steps:
- uses: panther-labs/github-asana-action@v3.0.7
name: Adds a comment to the related Asana task when the PR is closed
with:
asana-pat: ${{ secrets.ASANA_PAT }}
action: "add-comment"
text: ${{ format('A Pull Request is now closed {0}', github.event.pull_request.html_url) }}
- uses: panther-labs/github-asana-action@v3.0.7
name: Closes the related Asana tasks when the PR gets merged
if: github.event.pull_request.merged
with:
asana-pat: ${{ secrets.ASANA_PAT }}
action: "complete-task"
trigger-phrase-regex: "(C|c)loses"
is-complete: true