Skip to content

Commit ac3cbe5

Browse files
committed
fmt
1 parent 1b4dca0 commit ac3cbe5

File tree

1 file changed

+14
-4
lines changed

1 file changed

+14
-4
lines changed

.github/workflows/pr-deploy.yaml

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -92,15 +92,25 @@ jobs:
9292
fi
9393
echo "new=$new" >> $GITHUB_OUTPUT
9494
95+
- name: Find Comment
96+
uses: peter-evans/find-comment@v2
97+
id: fc
98+
with:
99+
issue-number: ${{ steps.pr_info.outputs.PR_NUMBER }}
100+
comment-author: "github-actions[bot]"
101+
body-includes: ":rocket:"
102+
direction: last
103+
95104
- name: Comment on PR
96105
id: comment_id
97106
uses: peter-evans/create-or-update-comment@v3
98107
with:
108+
comment-id: ${{ steps.fc.outputs.comment-id }}
99109
issue-number: ${{ steps.pr_info.outputs.PR_NUMBER }}
110+
edit-mode: replace
100111
body: |
101112
---
102113
:rocket: Deploying PR ${{ steps.pr_info.outputs.PR_NUMBER }} ...
103-
---
104114
105115
- name: Checkout
106116
uses: actions/checkout@v3
@@ -455,7 +465,7 @@ jobs:
455465
with:
456466
issue-number: ${{ env.PR_NUMBER }}
457467
comment-author: "github-actions[bot]"
458-
body-includes: ---
468+
body-includes: ":rocket:"
459469
direction: last
460470

461471
- name: Comment on PR
@@ -469,6 +479,6 @@ jobs:
469479
body: |
470480
---
471481
:heavy_check_mark: PR ${{ env.PR_NUMBER }} ${{ env.STATUS }} successfully.
472-
:rocket: Access the credentials [here]( {{ secrets.PR_DEPLOYMENTS_SLACK_CHANNEL_URL }} ).
473-
---
482+
:rocket: Access the credentials [here]({{ secrets.PR_DEPLOYMENTS_SLACK_CHANNEL_URL }}).
483+
474484
reactions: rocket

0 commit comments

Comments
 (0)