File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -32,12 +32,12 @@ automations:
32
32
args :
33
33
comment : |
34
34
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.
36
36
review_todo_comments :
37
37
if :
38
- - {{ source.diff.files | matchDiffLines(regex=r/^[+].*(TODO)|( todo)/) | some }}
38
+ - {{ source.diff.files | matchDiffLines(regex=r/^[+].*\b (TODO| todo)\b /) | some }}
39
39
run :
40
- - action : request-changes @v1
40
+ - action : add-comment @v1
41
41
args :
42
42
comment : |
43
43
This PR contains a TODO statement. Please check to see if they should be removed.
@@ -76,4 +76,4 @@ changes:
76
76
77
77
has :
78
78
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