https://github.com/marketplace/actions/github-commit-to-trello-card
- trello-api-key - Trello API key, visit https://trello.com/app-key for key
- trello-auth-token - Trello auth token, visit https://trello.com/app-key then click generate a token
- trello-board-id - Trello board ID, visit a board then append .json to url to find id
- trello-card-action - Trello card action, either "Comment" or "Attachment"
- trello-list-name-commit - Trello list name for new commit, for example "Doing", "In Progress", etc
- trello-list-name-pr-open - Trello list name for open pull request, for example "Reviewing", "In Review", etc
- trello-list-name-pr-closed - Trello list name for closed pull request, for example "Testing", "Done", etc
- key-prefix - Prefix to be used in commit/pull requests in front of Trello card IDs, for example "TECH-", default: "#"
git add .
git commit -m "Add this commit to Trello card #123"
git push
name: GitHub Commit To Trello Comment
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: dalezak/github-commit-to-trello-card@main
with:
trello-api-key: ${{ secrets.TRELLO_KEY }}
trello-auth-token: ${{ secrets.TRELLO_TOKEN }}
trello-board-id: ${{ secrets.TRELLO_BOARD }}
trello-card-action: "Attachment"
trello-list-name-commit: "Doing"
trello-list-name-pr-open: "Reviewing"
trello-list-name-pr-closed: "Testing"
key-prefix: "TECH-"
npm run build
git tag -a "v2" -m "v2"
git push origin --tags