File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 40
40
allowed-conclusions : success
41
41
wait-interval : 20
42
42
43
- - name : Get workflow run ID
43
+ - name : Getting workflow run ID
44
44
id : get_run_id
45
45
run : |
46
46
echo "run_id=$(curl https://api.github.com/repos/${{ github.repository }}/commits/${{ env.SHA }}/check-runs | jq -r '.check_runs[] | select(.name == "${{ env.UI_JOB_NAME }}") | .html_url | capture("(?<number>[0-9]+)") | .number')" >> $GITHUB_OUTPUT
@@ -145,7 +145,7 @@ jobs:
145
145
git rm -rf *
146
146
mv ${{ github.workspace }}/pr_ui/* .
147
147
git add .
148
- git commit -m "screenshots for commit ${{ env.SHA }}"
148
+ git commit -m "screenshots for PR # ${{ github.event.number }}"
149
149
git push origin ${{ env.BRANCH_NAME }} --force
150
150
151
151
- name : Comment Screenshots on PR
@@ -154,7 +154,7 @@ jobs:
154
154
with :
155
155
message : |
156
156
<!-- _(run_id_screenshots **${{ github.run_id }}**)_ -->
157
- ## UI Screenshots
157
+ ## UI Preview
158
158
${{ steps.find_diff.outputs.DIFF }}
159
159
comment_tag : run_id_screenshots
160
160
pr_number : ${{ github.event.number }}
You can’t perform that action at this time.
0 commit comments