File tree Expand file tree Collapse file tree 2 files changed +24
-1
lines changed Expand file tree Collapse file tree 2 files changed +24
-1
lines changed Original file line number Diff line number Diff line change @@ -72,4 +72,8 @@ changes:
7272 # Sum all the line removed in the PR
7373 deletions : {{ branch.diff.files_metadata | map(attr='deletions') | sum }}
7474 # Calculate the ratio of new code
75- ratio : {{ (changes.additions / (changes.additions + changes.deletions)) * 100 | round(2) }}
75+ ratio : {{ (changes.additions / (changes.additions + changes.deletions)) * 100 | round(2) }}
76+
77+ has :
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).*>/) }}
Original file line number Diff line number Diff line change 1+ name : Set Milestone
2+
3+ # Assigns the earliest created milestone that matches the below glob pattern.
4+
5+ on :
6+ pull_request :
7+ types : [opened]
8+
9+ jobs :
10+ automation :
11+ runs-on : ubuntu-latest
12+
13+ steps :
14+ - name : set-milestone
15+ uses :
andrefcdias/[email protected] 16+ with :
17+ repo-token : " ${{ secrets.GITHUB_TOKEN }}"
18+ milestone : " +([0-9]).+([0-9]).+([0-9])"
19+ use-expression : true
You can’t perform that action at this time.
0 commit comments