Skip to content
This repository has been archived by the owner on Oct 30, 2023. It is now read-only.

GitHub Action to integrate Asana and GitHub

License

Notifications You must be signed in to change notification settings

curai/github-asana-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

github-asana-action

This action integrates Asana with GitHub.

Prerequisites

  • Asana account personal access token, with permissions to write to the relevant project(s)
  • Task URL provided in the PR description, appropriately formatted (see below)

Inputs

asana-pat

Required Your personal access token for Asana, you can create one here.

trigger-phrase

Required Prefix before the task e.g. Asana Task: https://app.asana.com/1/2/3/. For special characters in the trigger phrase refer to the examples.

target-section

Optional If provided, attempts to move the task into the given section for each of the projects the task is associated with.

task-comment

Optional If any comment is provided, the action will add a comment to the specified Asana task with the text and also append the pull request URL.

mark-complete

Optional If set to true, the action will mark the specified Asana task as complete.

Sample PR Description

Asana Task: https://app.asana.com/0/1/2

Examples

Without special characters:

uses: curai/[email protected]
with:
    asana-pat: "Your PAT"
    task-comment: "View Pull Request Here: "
    trigger-phrase: "Asana Task:"
    target-section: "Done"
    mark-complete: true

With special characters:

uses: curai/[email protected]
with:
    asana-pat: "Your PAT"
    task-comment: "View Pull Request Here: "
    trigger-phrase: "\\*\\*Asana Task:\\*\\*"
    target-section: "Done"

About

GitHub Action to integrate Asana and GitHub

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%