klothoplatform / slack-notifier

Slack notification bot
MIT License
3 stars 0 forks source link

handle draft PRs #24

Closed ghost closed 2 years ago

ghost commented 2 years ago
  1. Notify when they're opened, but mark them in slack as draft.
  2. Update the message when they're ready for review or converted to draft
  3. Don't send comments or sync updates when in draft

This fixes #19.

ghost commented 2 years ago

Testing — this comment is here while the PR is in draft mode.

ghost commented 2 years ago

See slack comments here for a test: https://cloudccworkspace.slack.com/archives/C03RLV1M82F/p1661985005941149

Note: even though I was the last commenter on this PR, this comment should trigger a slack message, because I'm the first commenter since it was put into ready mode.

edit: and it did 😎