We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d09e9c6 commit 0495b44Copy full SHA for 0495b44
.github/workflows/slash-command-dispatch.yml
@@ -26,6 +26,7 @@ jobs:
26
27
# Advanced JSON configuration
28
- name: Slash Command Dispatch (JSON)
29
+ id: scd
30
uses: ./
31
with:
32
token: ${{ secrets.REPO_ACCESS_TOKEN }}
@@ -102,6 +103,14 @@ jobs:
102
103
}
104
]
105
106
+ - name: Edit comment with error message
107
+ if: steps.scd.outputs.error-message
108
+ uses: peter-evans/create-or-update-comment@v1
109
+ with:
110
+ comment-id: ${{ github.event.comment.id }}
111
+ body: |
112
+ > ${{ steps.scd.outputs.error-message }}
113
+
114
# Advanced JSON configuration from file
115
# (These commands do not do anything and are just a reference example)
116
- name: Slash Command Dispatch (JSON file)
0 commit comments