rematocorp / trello-integration-action

GitHub action for connecting GitHub PRs and Trello cards — moves cards, adds labels & people, and more
MIT License
18 stars 11 forks source link

Fix draft detection #48

Closed marek-saji closed 1 year ago

marek-saji commented 1 year ago
Checklist

Problem

  1. Looking at the code there’s intention not to move draft PRs, but it didn’t work for me. Action relies on pr.mergeable_state string, but instead of this there’s pr.draft boolean.

  2. Using example from README action will not be triggered when PR’s publish state changes.

Notes

I used fix from https://github.com/rematocorp/trello-integration-action/pull/47 to run yarn build here, but this PR doesn’t include the fix itself.