-
-
Notifications
You must be signed in to change notification settings - Fork 5
23 lines (23 loc) · 910 Bytes
/
help-command.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
name: help-command
on:
repository_dispatch:
types: [help-command]
jobs:
help:
runs-on: ubuntu-latest
steps:
- name: Update comment
uses: peter-evans/create-or-update-comment@v3
with:
token: ${{ secrets.ACTIONS_BOT_TOKEN }}
repository: ${{ github.event.client_payload.github.payload.repository.full_name }}
comment-id: ${{ github.event.client_payload.github.payload.comment.id }}
body: |
> Command | Description
> --- | ---
> /hello-world | Receive a greeting
> /hello-workflow | Receive a greeting (using workflow_dispatch)
> /ping [\<args\> ...] | Echos back a list of arguments
> /hello-world-local | Receive a greeting (local execution)
> /ping-local [\<args\> ...] | Echos back a list of arguments (local execution)
reactions: hooray