github-actions

Add Trello Comment

Purpose

Given a Trello Card, this action will add a new comment to the card

Input Parameters

Security

The TRELLO-KEY and TRELLO-TOKEN should be kept secret. To obtain them you need to follow the Trello instructions

Example

        - 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: $
                    

Pull Request

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: $