Skip to content

Commit

Permalink
Update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
peter-evans committed Jul 25, 2020
1 parent d09e9c6 commit 0495b44
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/slash-command-dispatch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:

# Advanced JSON configuration
- name: Slash Command Dispatch (JSON)
id: scd
uses: ./
with:
token: ${{ secrets.REPO_ACCESS_TOKEN }}
Expand Down Expand Up @@ -102,6 +103,14 @@ jobs:
}
]
- name: Edit comment with error message
if: steps.scd.outputs.error-message
uses: peter-evans/create-or-update-comment@v1
with:
comment-id: ${{ github.event.comment.id }}
body: |
> ${{ steps.scd.outputs.error-message }}
# Advanced JSON configuration from file
# (These commands do not do anything and are just a reference example)
- name: Slash Command Dispatch (JSON file)
Expand Down

0 comments on commit 0495b44

Please sign in to comment.