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

feat(index.js): add flag for checking for trello cards in pr comments #67

Closed erikagaffney closed 10 months ago

erikagaffney commented 10 months ago
Checklist

Hello! This PR is to allow users of the github action to send in false for checking PR comments for Trello cards. We use comments to provide example Trello cards and do not want the automation to run on those. Please let me know what you think!

ukupat commented 10 months ago

I released the new option under 8.0.0 version :) I also changed your logic a little bit: I moved the check to getCardIds method so that when someone has github-include-pr-branch-name turned on, then we wouldn't add automatic comment to the PR when the card URL is already mentioned in one of the PR comments. I hope this is fine by you :)