Fix: Add "Destinations 1.0" handling to PyAirbyte: sync IDs, generation IDs, and stream success statuses #521
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] | |
env: | |
AIRBYTE_ANALYTICS_ID: ${{ vars.AIRBYTE_ANALYTICS_ID }} | |
jobs: | |
slashCommandDispatch: | |
# Only allow slash commands on pull request (not on issues) | |
if: ${{ github.event.issue.pull_request }} | |
runs-on: ubuntu-latest | |
steps: | |
- name: Slash Command Dispatch | |
id: dispatch | |
uses: peter-evans/slash-command-dispatch@v4 | |
with: | |
repository: ${{ github.repository }} | |
token: ${{ secrets.GH_PAT_MAINTENANCE_OCTAVIA }} | |
dispatch-type: workflow | |
issue-type: pull-request | |
commands: | | |
fix-pr | |
test-pr | |
poetry-lock | |
static-args: | | |
pr=${{ github.event.issue.number }} | |
comment-id=${{ github.event.comment.id }} | |
# Only run for users with 'write' permission on the main repository | |
permission: write | |
- name: Edit comment with error message | |
if: steps.dispatch.outputs.error-message | |
uses: peter-evans/create-or-update-comment@v1 | |
with: | |
comment-id: ${{ github.event.comment.id }} | |
body: | | |
> Error: ${{ steps.dispatch.outputs.error-message }} |