Every time a Trello card is mentioned in a Github Pull request, attach the URL of that PR to a given card.
name | required | description |
---|---|---|
trello-api-key | yes | Trello API key created for your PowerUp |
trello-token | yes | A token with write scope generated with that API key (replace {apikey} with actual value) |
required | no | Should the action fail if no Trello cards are found |
on:
pull_request:
types: [ "opened", "edited" ]
jobs:
trello:
runs-on: ubuntu-latest
steps:
- uses: mlebkowski/attach-github-pr-to-trello-card-action@v1
with:
trello-api-key: ${{ secrets.TRELLO_API_KEY }}
trello-token: ${{ secrets.TRELLO_TOKEN }}
required: false