Skip to content

Commit b88d9c6

Browse files
authored
Prstep3 (#8718)
1 parent ec9e548 commit b88d9c6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/release-patch-from-comment.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
4343
- name: 'Get PR Status'
4444
id: 'pr_status'
45-
if: "steps.slash_command.outputs.dispatched == 'true'"
45+
if: "startsWith(github.event.comment.body, '/patch')"
4646
env:
4747
GH_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
4848
run: |
@@ -71,7 +71,7 @@ jobs:
7171
})
7272
7373
- name: 'Comment on Failure'
74-
if: "steps.slash_command.outputs.dispatched == 'true' && steps.pr_status.outputs.STATE != 'MERGED'"
74+
if: "startsWith(github.event.comment.body, '/patch') && steps.pr_status.outputs.STATE != 'MERGED'"
7575
uses: 'peter-evans/create-or-update-comment@67dcc547d311b736a8e6c5c236542148a47adc3d'
7676
with:
7777
issue-number: '${{ github.event.issue.number }}'

0 commit comments

Comments
 (0)