singingwolfboy/Create Linked Clubhouse Story
When a pull request is opened, create a linked story on Clubhouse if the description does not already link to one.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
- Runtime
- Deprecated runtime
Inputs
| name | description | required | default |
|---|---|---|---|
| github-token | API token for GitHub. Can be passed in using {{ secrets.GITHUB_TOKEN }} | yes | — |
| clubhouse-token | API token for Clubhouse.io | yes | — |
| project-name | The name of the Clubhouse.io project to create stories in | yes | — |
| opened-state-name | The name of the workflow state for Clubhouse stories when a pull request is created. | — | — |
| closed-state-name | The name of the workflow state for Clubhouse stories when a pull request is closed. | yes | — |
| merged-state-name | The name of the workflow state for Clubhouse stories when a pull request is merged. | yes | — |
| comment-template | A Mustache template for the comment posted on a pull request, after the Clubhouse story is successfully created. The template is populated with a `story` variable. | — | Clubhouse story: {{{ story.app_url }}} |
| story-title-template | A Mustache template used for the story title in Clubhouse. The template is populated with a `payload` variable. | — | {{{ payload.pull_request.title }}} |
| story-description-template | A Mustache template used for the story description in Clubhouse. The template is populated with a `payload` variable. | — | {{{ payload.pull_request.body }}} |
| only-users | Comma-separated list of specific GitHub users to create Clubhouse stories for. | — | — |
| ignored-users | Comma-separated list of GitHub users to ignore. Often used for bots. | — | — |
| user-map | Map GitHub usernames to Clubhouse UUIDs | — | — |
| label-iteration-group-map | Map GitHub labels to a Clubhouse Group to pull Iterations for linking from | — | — |
Outputs
| name | description |
|---|---|
| story-id | The ID of the associated story on Clubhouse |