Skip to content

Warning

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

Teamwork GitHub Sync

Actions
This action helps you to sync your PRs with tasks in Teamwork to streamline team collaboration and your development workflows
v1.1.0
Verified creator
Star (65)

Verified

GitHub has manually verified the creator of the action as an official partner organization. For more info see About badges in GitHub Marketplace.

Teamwork Github Sync

This action helps you to sync your PRs with tasks in Teamwork to streamline team collaboration and your development workflows.

Linter

Getting Started

Prerequisites

Create the next environment vars in your repository:

Please Note: The Teamwork account associated with this API key is the account which these comments will be created under. If this user does not have permission to access the project, this action will be ignored.

GITHUB_TOKEN doesn't need to be setup in the repository, this var is always available during the workflows execution.

Installation

Create a new file /.github/workflows/teamwork.yml with the following:

name: teamwork

on:
  pull_request:
    types: [opened, closed]
  pull_request_review:
    types: [submitted, dismissed]

jobs:
  teamwork-sync:
    runs-on: ubuntu-latest
    name: Teamwork Sync
    steps:
      - uses: teamwork/github-sync@master
        with:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
          TEAMWORK_URI: ${{ secrets.TEAMWORK_URI }}
          TEAMWORK_API_TOKEN: ${{ secrets.TEAMWORK_API_TOKEN }}

Usage

When creating a new PR, write in the description of the PR the URL of the task. The action will automatically add a comment in the task.

Please note, the comment will be created in Teamwork under the account you have attached to this action. If the API key of the user you are using does not have permissions to access certain projects, the comment will not be created.

github pr comment

teamwork pr comment

Contributing

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Teamwork GitHub Sync is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

This action helps you to sync your PRs with tasks in Teamwork to streamline team collaboration and your development workflows
v1.1.0

Verified

GitHub has manually verified the creator of the action as an official partner organization. For more info see About badges in GitHub Marketplace.

Teamwork GitHub Sync is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.