help-command #15
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "/help command" | |
on: | |
repository_dispatch: | |
types: [ help-command ] | |
jobs: | |
help: | |
runs-on: ubuntu-latest | |
timeout-minutes: 1 | |
steps: | |
- name: Update comment if empty | |
if: ${{ github.event.client_payload.slash_command.args.all == '' }} | |
uses: peter-evans/create-or-update-comment@v3 | |
with: | |
token: ${{ secrets.GIT_PAT }} | |
repository: ${{ github.event.client_payload.github.payload.repository.full_name }} | |
comment-id: ${{ github.event.client_payload.github.payload.comment.id }} | |
body: | | |
> Command | Description | |
> --- | --- | |
> /frontend [\<args\> ...] | Actions with frontend. Type `/frontend help` for an additional help. | |
reaction-type: hooray |