rematocorp/Trello Card & GitHub PR Integration
Integrate GitHub pull requests with Trello cards
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| github-token | Github token, https://docs.github.com/en/actions/reference/authentication-in-a-workflow. | yes | — |
| github-require-keyword-prefix | When set to true, match only URLs prefixed with “Closes” etc. Just like https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword. | — | false |
| github-enable-related-keyword-prefix | When set to true, ignore URLs prefixed with "Related". | — | false |
| github-require-trello-card | Throw an error if no Trello cards can be found in the PR description. | — | false |
| github-include-pr-comments | Include PR comments when searching for Trello cards. | — | true |
| github-include-pr-commit-messages | Include PR commit messages when searching for Trello cards. If card ID is found, it automatically comments card URL to the PR. | — | false |
| github-include-pr-branch-name | Include PR branch name when searching for Trello cards (e.g. "1234-card-title"). If card ID is found, it automatically comments card URL to the PR. | — | false |
| github-allow-multiple-cards-in-pr-branch-name | Allows to reference multiple card short IDs in the branch name (e.g. feature/38-39-40-foo-bar). Option github-include-pr-branch-name needs to be true. | — | false |
| github-include-new-card-command | Creates a new Trello card from PR details if "/new-trello-card" is written in the PR description. Replaces "/new-trello-card" with the card link. | — | false |
| github-create-new-card-on-merge | Creates a new Trello card from PR details if no card is linked and the PR is merged. Adds card link to the PR description. | — | false |
| github-users-to-trello-users | Newline-separated list of mapping between Github username and Trello username. Example: github-users-to-trello-users: |- GithubUser1:TrelloUser1 GithubUser2:TrelloUser2 | — | — |
| trello-api-key | Trello API key, visit https://trello.com/app-key for key. | yes | — |
| trello-auth-token | Trello auth token, visit https://trello.com/app-key then click generate a token. | yes | — |
| trello-organization-name | Your organization name to avoid assigning cards to outside members. Edit your workspace details and look for the short name. | — | — |
| trello-board-id | Trello board ID where to move the cards. | — | — |
| trello-list-id-pr-draft | Trello list ID for draft pull request. | — | — |
| trello-list-id-pr-open | Trello list ID for open pull request. | — | — |
| trello-list-id-pr-changes-requested | Trello list ID for a pull request which has at least one review requesting for changes. | — | — |
| trello-list-id-pr-approved | Trello list ID for a pull request which has at least one approve and no reviews requesting for changes. | — | — |
| trello-list-id-pr-closed | Trello list ID for closed pull request. If trello-list-id-pr-merged is set and card is merged, then the card will be moved to merged list. | — | — |
| trello-list-id-pr-merged | Trello list ID for merged pull request. If trello-archive-on-merge is set to true, the card is archived instead of moving to this list. | — | — |
| trello-list-id-override | Trello list ID where to manually move cards. If set, overrides all other list move rules. | — | — |
| trello-move-to-merged-list-only-on-merge | When set to true, moves to trello-list-id-pr-merged only when the job was triggered by "closed" action. | — | false |
| trello-add-labels-to-cards | Enable or disable the automatic addition of labels to cards. | — | true |
| trello-add-manual-labels-to-cards | Add these semicolon-separated labels to the Trello card. | — | — |
| trello-conflicting-labels | When a card has one of these labels, branch category label is not assigned. | — | — |
| trello-card-position | Position of the card after being moved to a list. Can be "top" or "bottom". | — | top |
| trello-add-members-to-cards | Adds PR author, contributors and assignees to the Trello card. | — | true |
| trello-switch-members-in-review | Replaces Trello card members with PR reviewers when PR is opened. It reassigns the PR author, contributors and assignees when the card is moved away from trello-list-id-pr-open. | — | false |
| trello-remove-unrelated-members | Removes card members who are not authors or assignees of the PR. | — | true |
| trello-archive-on-merge | Archives Trello cards when PR is merged. | — | false |
Outputs
no outputs