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

Faux drafts #49

Closed marek-saji closed 1 year ago

marek-saji commented 1 year ago
Checklist

Problem

Unpaid GH orgs don’t support PR drafts for private repositories.

Solution

For such repos it’s common to use (Draft) or similar at the beginning or end of PR titles. This PR recognises such titles and treats them same as “native” drafts.

Notes

This PR is based on #48, but if merging it is controversial, I could rebase to main.

Just like in #48, 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).