Skip to content

Warning

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

Shortcut PR

Actions
Update Github PR with Shortcut information
v1
Star (5)

ClubHouse Pull Request Github Action

code style: prettier Test

Automatically update your Github Pull Request with a Clubhouse title in the format: (feat) Some Feature [ch123]. And adds the Clubhouse story's URL to the beginning of the body of your PR.

Inputs

ghToken

Required GITHUB_TOKEN

chToken

Required Clubhouse API Token

Outputs

prTitle

The title of the pull request

Development

Run yarn tdd to watch Jest tests as you make your changes.

Run yarn lint:watch to watch for ESLint errors/warnings.

Note: Always run yarn build before pushing any changes.

Example usage

Note: This is for use when opening a pull request.

on:
  pull_request:
    types: [opened]
uses: actions/clubhouse-pr@v1
with:
  ghToken: ${{ secrets.GITHUB_TOKEN }}
  chToken: ${{ secrets.CLUBHOUSE_API_TOKEN }}

Shortcut PR 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

Update Github PR with Shortcut information
v1

Shortcut PR 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.