16
16
17
17
18
18
- name : Add Workflow link to command comment
19
- uses : peter-evans/create-or-update-comment@v3
19
+ uses : peter-evans/create-or-update-comment@v4
20
20
with :
21
21
token : ${{ secrets.GIT_PAT }}
22
22
repository : ${{ github.event.client_payload.github.payload.repository.full_name }}
50
50
echo "merge_conflict=$(git merge-tree $(git merge-base HEAD origin/$SLASH_COMMAND_ARG_BRANCH) origin/$SLASH_COMMAND_ARG_BRANCH HEAD | grep '<<')" >> $GITHUB_OUTPUT
51
51
52
52
- name : Add reaction to command comment on merge conflict
53
- uses : peter-evans/create-or-update-comment@v3
53
+ uses : peter-evans/create-or-update-comment@v4
54
54
if : ${{ steps.check-conflict.outputs.merge_conflict }}
55
55
with :
56
56
token : ${{ secrets.GIT_PAT }}
81
81
82
82
- name : Add reaction to command comment on nothing to do
83
83
if : ${{ !steps.check-conflict.outputs.merge_conflict && steps.commit_and_push.outputs.changes == 'no' }}
84
- uses : peter-evans/create-or-update-comment@v3
84
+ uses : peter-evans/create-or-update-comment@v4
85
85
with :
86
86
token : ${{ secrets.GIT_PAT }}
87
87
repository : ${{ github.event.client_payload.github.payload.repository.full_name }}
92
92
93
93
- name : Add reaction to command comment on success
94
94
if : ${{ !steps.check-conflict.outputs.merge_conflict && steps.commit_and_push.outputs.changes == 'yes' }}
95
- uses : peter-evans/create-or-update-comment@v3
95
+ uses : peter-evans/create-or-update-comment@v4
96
96
with :
97
97
token : ${{ secrets.GIT_PAT }}
98
98
repository : ${{ github.event.client_payload.github.payload.repository.full_name }}
@@ -103,7 +103,7 @@ jobs:
103
103
reactions : " +1"
104
104
105
105
- name : Add reaction to command comment on failure
106
- uses : peter-evans/create-or-update-comment@v3
106
+ uses : peter-evans/create-or-update-comment@v4
107
107
if : failure()
108
108
with :
109
109
token : ${{ secrets.GIT_PAT }}
@@ -119,7 +119,7 @@ jobs:
119
119
timeout-minutes : 1
120
120
steps :
121
121
- name : Update comment
122
- uses : peter-evans/create-or-update-comment@v3
122
+ uses : peter-evans/create-or-update-comment@v4
123
123
with :
124
124
token : ${{ secrets.GIT_PAT }}
125
125
repository : ${{ github.event.client_payload.github.payload.repository.full_name }}
0 commit comments