Given a Trello Card, this action will add a new comment to the card
MESSAGE
- Text you want in the commentCARD
- URL to Trello Card you wish to add the comment tooTRELLO-KEY
- Trello API KEYTRELLO-TOKEN
- Trello Access TokenThe TRELLO-KEY and TRELLO-TOKEN should be kept secret. To obtain them you need to follow the Trello instructions
- name: Add Trello Comment
uses: DFE-Digital/github-actions/AddTrelloComment@master
with:
MESSAGE: "Hello World"
CARD: https://trello.com/c/gFLtDH7X/1-eg-book-flights
TRELLO-KEY: $
TRELLO-TOKEN: $
If the action is used in a GitHub pull request workflow, by passing the html_url and request body the action will create a link in the Trello card, which is a link back to the GitHub pull request.
- name: Add Trello Comment
uses: DFE-Digital/github-actions/AddTrelloComment@master
with:
MESSAGE: $
CARD: $
TRELLO-KEY: $
TRELLO-TOKEN: $