Skip to content

Commit 3e2331f

Browse files
fix
1 parent c83c84c commit 3e2331f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/ui_preview.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
allowed-conclusions: success
4141
wait-interval: 20
4242

43-
- name: Get workflow run ID
43+
- name: Getting workflow run ID
4444
id: get_run_id
4545
run: |
4646
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:
145145
git rm -rf *
146146
mv ${{ github.workspace }}/pr_ui/* .
147147
git add .
148-
git commit -m "screenshots for commit ${{ env.SHA }}"
148+
git commit -m "screenshots for PR #${{ github.event.number }}"
149149
git push origin ${{ env.BRANCH_NAME }} --force
150150
151151
- name: Comment Screenshots on PR
@@ -154,7 +154,7 @@ jobs:
154154
with:
155155
message: |
156156
<!-- _(run_id_screenshots **${{ github.run_id }}**)_ -->
157-
## UI Screenshots
157+
## UI Preview
158158
${{ steps.find_diff.outputs.DIFF }}
159159
comment_tag: run_id_screenshots
160160
pr_number: ${{ github.event.number }}

0 commit comments

Comments
 (0)