Git Product home page Git Product logo

github-commit-to-trello-card's Introduction

GitHub-Commit-To-Trello-Card

GitHub Action to attach GitHub commits and pull requests to a Trello card

Action Marketplace

https://github.com/marketplace/actions/github-commit-to-trello-card

Action Variables

  • 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
  • trello-card-id-pattern - Trello Card ID Pattern, default is #{CardNumber}

Git Commit

git add .
git commit -m "Add this commit to Trello card #123"
git push

GitHub Action

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"

Local Build

npm run build

Release Build

git tag -a "v2" -m "v2"
git push origin --tags

github-commit-to-trello-card's People

Contributors

dalezak avatar sarinniural avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.