This repository has been archived by the owner on Sep 18, 2023. It is now read-only.
Bump url-parse from 1.5.1 to 1.5.10 in /airbyte-webapp #12
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: Slash Command Dispatch | |
on: | |
issue_comment: | |
types: [created] | |
jobs: | |
slashCommandDispatch: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Get PR Ref | |
id: getref | |
run: | | |
echo "::set-output name=ref::$(curl ${{ github.event.issue.pull_request.url }} | jq -r '.head.ref')" | |
- name: Slash Command Dispatch | |
id: scd | |
uses: peter-evans/slash-command-dispatch@v2 | |
with: | |
token: ${{ secrets.SLASH_COMMAND_PAT }} | |
commands: | | |
test | |
publish | |
publish-cdk | |
static-args: | | |
ref=${{ steps.getref.outputs.ref }} | |
comment-id=${{ github.event.comment.id }} | |
dispatch-type: workflow | |
- 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: | | |
> Error: ${{ steps.scd.outputs.error-message }} |