mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Merge pull request #2808 from Flow-Launcher/fix-gitstream-todo
Modify gitStream todo checks
This commit is contained in:
commit
4111f59ee4
1 changed files with 4 additions and 4 deletions
|
|
@ -32,12 +32,12 @@ automations:
|
||||||
args:
|
args:
|
||||||
comment: |
|
comment: |
|
||||||
This PR is {{ changes.ratio }}% new code.
|
This PR is {{ changes.ratio }}% new code.
|
||||||
# Post a comment that request changes for a PR that contains a TODO statement.
|
# Post a comment notifying that the PR contains a TODO statement.
|
||||||
review_todo_comments:
|
review_todo_comments:
|
||||||
if:
|
if:
|
||||||
- {{ source.diff.files | matchDiffLines(regex=r/^[+].*(TODO)|(todo)/) | some }}
|
- {{ source.diff.files | matchDiffLines(regex=r/^[+].*\b(TODO|todo)\b/) | some }}
|
||||||
run:
|
run:
|
||||||
- action: request-changes@v1
|
- action: add-comment@v1
|
||||||
args:
|
args:
|
||||||
comment: |
|
comment: |
|
||||||
This PR contains a TODO statement. Please check to see if they should be removed.
|
This PR contains a TODO statement. Please check to see if they should be removed.
|
||||||
|
|
@ -76,4 +76,4 @@ changes:
|
||||||
|
|
||||||
has:
|
has:
|
||||||
screenshot_link: {{ pr.description | includes(regex=r/!\[.*\]\(.*(jpg|svg|png|gif|psd).*\)/) }}
|
screenshot_link: {{ pr.description | includes(regex=r/!\[.*\]\(.*(jpg|svg|png|gif|psd).*\)/) }}
|
||||||
image_uploaded: {{ pr.description | includes(regex=r/<img.*src.*(jpg|svg|png|gif|psd).*>/) }}
|
image_uploaded: {{ pr.description | includes(regex=r/<img.*src.*(jpg|svg|png|gif|psd).*>/) }}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue