File tree 1 file changed +14
-4
lines changed 1 file changed +14
-4
lines changed Original file line number Diff line number Diff line change @@ -92,15 +92,25 @@ jobs:
92
92
fi
93
93
echo "new=$new" >> $GITHUB_OUTPUT
94
94
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
+
95
104
- name : Comment on PR
96
105
id : comment_id
97
106
uses : peter-evans/create-or-update-comment@v3
98
107
with :
108
+ comment-id : ${{ steps.fc.outputs.comment-id }}
99
109
issue-number : ${{ steps.pr_info.outputs.PR_NUMBER }}
110
+ edit-mode : replace
100
111
body : |
101
112
---
102
113
:rocket: Deploying PR ${{ steps.pr_info.outputs.PR_NUMBER }} ...
103
- ---
104
114
105
115
- name : Checkout
106
116
uses : actions/checkout@v3
@@ -455,7 +465,7 @@ jobs:
455
465
with :
456
466
issue-number : ${{ env.PR_NUMBER }}
457
467
comment-author : " github-actions[bot]"
458
- body-includes : ---
468
+ body-includes : " :rocket: "
459
469
direction : last
460
470
461
471
- name : Comment on PR
@@ -469,6 +479,6 @@ jobs:
469
479
body : |
470
480
---
471
481
: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
+
474
484
reactions : rocket
You can’t perform that action at this time.
0 commit comments