1.0.2 • Published 3 years ago

productboard-gh-action v1.0.2

Weekly downloads
19
License
MIT
Repository
github
Last release
3 years ago

:rocket: Product Board Github Action

GitHub action that pull Github Issues into Product Board by simply trigger an webhook event when a github issue has been tagged with a specific label. This makes it easy to manage and sync your Github work with a Product Board-based workflow. You can customize the label to be used.

Usage

Set the label you want to control the action with and you productboard token.

jobs:
  productboard:
    if: github.event.label.name == 'to_productboard'
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v1
    - uses: kjgarza/productboard-gh-action@v1
      with:
        milliseconds: 1000
        event: "github_issue"
        productboardtoken: ${{ PRODUCTBOARD_TOKEN }}

You can use it in combination with other actions to also close the ticket

name: GitHub Action for ProductBoard

on:
  issues:
    types: [labeled, unlabeled, reopened]
    
jobs:
  productboard:
    if: github.event.label.name == 'to_productboard'
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v1
    - uses: kjgarza/productboard-gh-action@1.0.1
      with:
        milliseconds: 1000
        event: "github_issue"
        productboardtoken: ${{ secrets.PRODUCTBOARD_TOKEN }}
    - uses: dessant/support-requests@v2
      with:
        github-token: ${{ secrets.ISSUES_TOKEN }}
        support-label: 'to_productboard'
        issue-comment: >
          :wave: @{issue-author}, we are tracking user stories in productboard. We have moved this issue there https://app.productboard.com/ .
        close-issue: true

LICENSE 📋

Licensed under the MIT License (the "License");