Skip to content
IntegrationPowered by GAIA

Automate GitHub + Trello with GAIA

Move Trello cards automatically when GitHub PRs merge or issues close

A Trello GitHub integration links your code to your board: pull requests, issues and commits show up on the right cards, and cards move as the work moves. Trello's own GitHub Power-Up attaches branches, commits, issues and pull requests to a card so you can see their status from the board; it is built for linking and status, not for moving cards between lists. GAIA does that part: it reads repository events and updates cards, lists and comments by rules you write in plain English.

How it works: GAIA's triggers fire on pull request activity, new issues and pushed commits in the repositories you pick. A workflow takes each event, finds the matching card (by a card short link or ID in the branch name, PR title or description), and acts: it moves the card to In Review when a PR opens and to Done when it merges, attaches the PR link, or creates a card for a new issue. The reverse direction, from the board to the repository, runs on a schedule, because the board does not push changes to GAIA.

An example workflow: "When a pull request opens in acme/web, find the card whose short link is in the branch name, move it to In Review and attach the PR link. When the PR is merged, move the card to Done and comment with the PR title."

Use the Power-Up if you only want PRs visible on cards. Use GAIA when you want the board to update itself, or when the same workflow should also post to Slack, update Linear or email a client.

5 things you can automate

Everything GAIA can do when GitHub and Trello are connected.

1

Move cards when pull requests change

When a PR opens, GAIA moves the linked card to your review list, and when it merges, moves it to Done. The trigger fires on the PR event, so the card moves shortly after, without anyone touching the board.

2

Create Trello cards from new GitHub issues

The new-issue trigger lets GAIA create a card in the list you choose with the issue title, a short summary of the description, its labels and a link back to the issue. You can limit it to issues with a label such as backlog.

3

Attach pull request links to cards

When a PR mentions a card short link or ID in its branch name, title or description, GAIA adds the PR URL to the card so reviewers and project managers can jump to the diff from the board.

4

Close GitHub issues when cards are done

On a schedule you set, GAIA checks your Done list and closes the linked issues with a comment pointing to the card. This direction is scheduled because the board does not notify GAIA when a card moves.

5

Stale card check

A scheduled workflow compares In Progress cards with recent repository activity and comments on cards with no linked commits or PR updates in the last few days, so blockers surface early.

How to set it up

Connect GitHub and Trello to GAIA in three steps.

  1. 1

    Connect GitHub and Trello to GAIA

    Authorize both accounts from GAIA's integrations page. When you add a trigger, pick the repositories GAIA should watch.

  2. 2

    Write the rules in plain English

    Describe how pull request events map to your lists and how GAIA should find the card: a card short link in the branch name, an ID in the PR title, or a match on the card name.

  3. 3

    GAIA updates the board

    Repository events start runs as they happen; board-to-repository checks run on your schedule. GAIA can send you, or a Slack channel, a summary of what it changed.

Frequently Asked Questions

For the basic link, add the Power-Up for pull requests to your board, connect your code-hosting account, and attach PRs or issues from inside a card. For automatic card moves, connect both accounts in GAIA, add a pull request trigger for your repository, and describe which list each PR state should move a card to.

Explore individual integrations

Compare the tools

More automations with github IconGitHub

All 20 GitHub automations

More automations with trello IconTrello

All 13 Trello automations

Guides in the Docs

Explore more automation combos

GAIA supports dozens of tool combinations. Explore more ways to automate your workflow.

Browse marketplace

Stop doing everything yourself

Join thousands of professionals who gave their grunt work to GAIA.