A GitHub Action that verifies your pull request contains a reference to a Shortcut card. If your Shortcut card number is 1234, this will check for [ch1234] or ch1234/ in:
- The pull request title
 - The pull request body
 - The pull request branch name
 
Add .github/workflows/lint.yaml with the following:
name: Shortcut
on:
  pull_request:
    types: [opened, edited, reopened, synchronize]
jobs:
  ch_lint_pr:
    name: Check for story ID
    runs-on: ubuntu-latest
    steps:
      - uses: movableink/pr-clubhouse-lint-action@releaseThis action needs node_modules vendored, but we don't want to do so normally. To release a new version:
- Remove 
node_modules - Check out the 
releasebranch - Run 
git merge master - Run 
npm install --production(to ensure dev dependencies don't get installed) - Commit the result, if any changes
 - Push the 
releasebranch to Github 
Run npm test to test.