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:
|
||||
comment: |
|
||||
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:
|
||||
if:
|
||||
- {{ source.diff.files | matchDiffLines(regex=r/^[+].*(TODO)|(todo)/) | some }}
|
||||
- {{ source.diff.files | matchDiffLines(regex=r/^[+].*\b(TODO|todo)\b/) | some }}
|
||||
run:
|
||||
- action: request-changes@v1
|
||||
- action: add-comment@v1
|
||||
args:
|
||||
comment: |
|
||||
This PR contains a TODO statement. Please check to see if they should be removed.
|
||||
|
|
@ -76,4 +76,4 @@ changes:
|
|||
|
||||
has:
|
||||
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