File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -32,12 +32,12 @@ automations:
3232 args :
3333 comment : |
3434 This PR is {{ changes.ratio }}% new code.
35- # Post a comment that request changes for a PR that contains a TODO statement.
35+ # Post a comment notifying that the PR contains a TODO statement.
3636 review_todo_comments :
3737 if :
38- - {{ source.diff.files | matchDiffLines(regex=r/^[+].*(TODO)|( todo)/) | some }}
38+ - {{ source.diff.files | matchDiffLines(regex=r/^[+].*\b (TODO| todo)\b /) | some }}
3939 run :
40- - action : request-changes @v1
40+ - action : add-comment @v1
4141 args :
4242 comment : |
4343 This PR contains a TODO statement. Please check to see if they should be removed.
@@ -76,4 +76,4 @@ changes:
7676
7777has :
7878 screenshot_link : {{ pr.description | includes(regex=r/!\[.*\]\(.*(jpg|svg|png|gif|psd).*\)/) }}
79- image_uploaded : {{ pr.description | includes(regex=r/<img.*src.*(jpg|svg|png|gif|psd).*>/) }}
79+ image_uploaded : {{ pr.description | includes(regex=r/<img.*src.*(jpg|svg|png|gif|psd).*>/) }}
You can’t perform that action at this time.
0 commit comments