Skip to content

Commit 46e98b2

Browse files
authored
use github step summary for locks (#25)
1 parent 3d7a471 commit 46e98b2

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.github/workflows/refresh-lockfiles.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -100,10 +100,14 @@ jobs:
100100
labels: |
101101
New: Pull Request
102102
Bot
103+
103104
- name: Check Pull Request
104105
if: steps.cpr.outputs.pull-request-number != ''
105106
run: |
106-
echo "pull-request #${{ steps.cpr.outputs.pull-request-number }}"
107-
echo "pull-request URL ${{ steps.cpr.outputs.pull-request-url }}"
108-
echo "pull-request operation [${{ steps.cpr.outputs.pull-request-operation }}]"
109-
echo "pull-request head SHA ${{ steps.cpr.outputs.pull-request-head-sha }}"
107+
echo "### :rocket: Pull-Request Summary" >> ${GITHUB_STEP_SUMMARY}
108+
echo "" >> ${GITHUB_STEP_SUMMARY}
109+
echo "The following lock-files pull-request has been auto-generated:"
110+
echo "- **PR** #${{ steps.cpr.outputs.pull-request-number }}" >> ${GITHUB_STEP_SUMMARY}
111+
echo "- **URL** ${{ steps.cpr.outputs.pull-request-url }}" >> ${GITHUB_STEP_SUMMARY}
112+
echo "- **Operation** [${{ steps.cpr.outputs.pull-request-operation }}]" >> ${GITHUB_STEP_SUMMARY}
113+
echo "- **SHA** ${{ steps.cpr.outputs.pull-request-head-sha }}" >> ${GITHUB_STEP_SUMMARY}

0 commit comments

Comments
 (0)