Skip to content

Commit 14ec113

Browse files
committed
Add edit step
1 parent 566e5f4 commit 14ec113

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

.github/workflows/slash-command-dispatch.yaml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
types: [created]
77

88
jobs:
9-
slashCommandDispatch:
9+
command-dispatch:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- name: Dispatch
@@ -22,3 +22,13 @@ jobs:
2222
static-args: |
2323
repository=${{ github.repository }}
2424
comment-id=${{ github.event.comment.id }}
25+
26+
- name: Update comment with error message
27+
if: steps.scd.outputs.error-message
28+
uses: peter-evans/create-or-update-comment@v5
29+
with:
30+
comment-id: ${{ github.event.comment.id }}
31+
body: |
32+
**Errors:**
33+
34+
${{ steps.scd.outputs.error-message }}

0 commit comments

Comments
 (0)