diff --git a/.cm/gitstream.cm b/.cm/gitstream.cm index fcf01c0fe..c372f5a6c 100644 --- a/.cm/gitstream.cm +++ b/.cm/gitstream.cm @@ -72,4 +72,8 @@ changes: # Sum all the line removed in the PR deletions: {{ branch.diff.files_metadata | map(attr='deletions') | sum }} # Calculate the ratio of new code - ratio: {{ (changes.additions / (changes.additions + changes.deletions)) * 100 | round(2) }} \ No newline at end of file + ratio: {{ (changes.additions / (changes.additions + changes.deletions)) * 100 | round(2) }} + +has: + screenshot_link: {{ pr.description | includes(regex=r/!\[.*\]\(.*(jpg|svg|png|gif|psd).*\)/) }} + image_uploaded: {{ pr.description | includes(regex=r//) }} \ No newline at end of file