Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
chevron-right

GitHub Action

Asana Git

v2.0.0

Asana Git

chevron-right

Asana Git

Asana Github Actions

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Asana Git

uses: insurify/github-asana-action@v2.0.0

Learn more about this action in insurify/github-asana-action

Choose a version

Github-Asana action

This action integrates asana with github.

Prerequisites

  • Asana account with the permission on the particular project you want to integrate with.
  • Must provide the task url in the PR description.

Inputs

asana-pat

Required Your public access token of asana, you can find it in asana docs.

trigger-phrase

Required Prefix before the task i.e ASANA TASK: https://app.asana.com/1/2/3/.

task-comment

Optional If any comment is provided, the action will add a comment to the specified asana task with the text & pull request link.

targets

Optional JSON array of objects having project and section where to move current task. Move task only if it exists in target project. e.g

targets: '[{"project": "Backlog", "section": "Development Done"}, {"project": "Current Sprint", "section": "In Review"}]'

if you don't want to move task omit targets.

Example usage

uses: https://github.com/insurify/github-actions@v2.0.0
with:
  asana-pat: 'Your PAT'
  task-comment: 'View Pull Request Here: '
  trigger-phrase: 'Asana Task:'
  targets: '[{"project": "Backlog", "section": "Development Done"}, {"project": "Current Sprint", "section": "In Review"}]'