linear-b / gitstream

/:\ gitStream - Workflow automation for your git repo. Use YAML to auto-assign reviewers, auto-merge PRs, automatic PR labeler, and more.
https://gitstream.cm
Apache License 2.0
254 stars 30 forks source link

Fix TODO cm so it will show a comment only for newly added TODO #495

Closed vim-zz closed 4 months ago

vim-zz commented 4 months ago

Fix by checking for + at the begening of the regex, was checked on these PRs:

  1. PR with new line that starts with # TODO: - automation was executed
  2. PR with existing line that start with # TODO: - automation was not executed
  3. PR with removed line that start with # TODO: - automation was not executed