Skip to content

TheDotLabs/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

Repository files navigation

Github Asana Action

GitHub tag (latest by date) GitHub GitHub Repo stars

Asana

This action integrates asana with github for task movement and auto comment.

❔ Prerequisites

  • Asana account with the permission on the particular project you want to integrate with, as this action needs your personal access token.

Inputs

asana-token (Required)

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

targets (Optional)

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_commit_push: '[{"project": "Backlog", "section": "Development Done"}, {"project": "Current Sprint", "section": "In Review"'

# OR

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

# OR

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

Sample Commit

[Fix] Add xyz to pqr

Asana Task: https://app.asana.com/0/---/---

You only need to add task link. Syntax can be of your choice.

Sample PR Description

Asana Task: [Task Name](https://app.asana.com/0/---/---)

You only need to add task link. Syntax can be of your choice.

💻 Examples

Without special characters:

uses: apgapg/github-asana-action@--latest--
with:
  asana-token: 'Your PAT'
  targets_commit_push: '[{"project": "New MT Flutter App", "section": "Development Done"}, {"project": "Current Sprint", "section": "In Review"}]'

👍 Contribution

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -m 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

✨ Active Contributors

Thanks goes to these wonderful people:


Ayush P Gupta