test and deploy the avni low-code connector #30
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: Approve and Merge Command Dispatch | |
on: | |
issue_comment: | |
types: [created] | |
jobs: | |
approveAndMergeDispatch: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Auto Approve Slash Command Dispatch | |
uses: peter-evans/slash-command-dispatch@v3 | |
id: scd | |
with: | |
token: ${{ secrets.GH_PAT_APPROVINGTON_OCTAVIA }} | |
permission: write | |
issue-type: pull-request | |
repository: airbytehq/airbyte-cloud | |
dispatch-type: repository | |
commands: | | |
approve-and-merge | |
- 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 }} |