Skip to content

oliuz/teamwork-github

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Teamwork Github Sync

This action helps you to keep in sync your PRs with your Teamwork tasks.

Getting Started

Prerequisites

Create the next environment vars in your repository:

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, synchronize, closed]
  pull_request_review:
    types: [submitted, edited, dismissed]
  pull_request_review_comment:
    types: [created, deleted]
  issue_comment:
    types: [created]

jobs:
  teamwork-sync:
    runs-on: ubuntu-latest
    name: Teamwork Sync
    steps:
      - uses: miguelbemartin/teamwork-github@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.

github pr comment

teamwork pr comment

Contributing

Authors

License

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

About

This action helps you to keep in sync your PRs with your Teamwork tasks.

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

 
 
 

Contributors