watchflow icon indicating copy to clipboard operation
watchflow copied to clipboard

bug: Watchflow rule copy-pasted from landing page does not work due to punctuations

Open junyap95 opened this issue 1 year ago • 1 comments

Description:

The regex generated isn't working due to double quote. (See screenshots)

Image

Steps to Reproduce:

  • Use the auto-generated rule from the landing page. In this case I used Conventional Commit.
  • Watchflow bot was unable to parse the rule.

Expected behaviour:

  • Rule generated by the landing page should be directly usable by user.

Questions:

  • Also, will it be easier if we include the rules key to be copied rather than users having to write it themselves?

junyap95 avatar Jul 25 '25 08:07 junyap95

Thanks @junyap95 for the detailed report!

We’ll work on a fix so that generated rules copy correctly.

Regarding the rules: key in the copied snippet - we’ll consider that change, it's a good idea to improve usability.

dkargatzis avatar Jul 25 '25 15:07 dkargatzis