On-Demand Connector Tests for PRs #210498
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: Deprecation message for test slash command | |
on: | |
workflow_dispatch: | |
inputs: | |
connector: | |
description: "Airbyte Connector" | |
required: true | |
repo: | |
description: "Repo to check out code from. Defaults to the main airbyte repo. Set this when building connectors from forked repos." | |
required: false | |
default: "airbytehq/airbyte" | |
gitref: | |
description: "The git ref to check out from the specified repository." | |
required: false | |
default: master | |
comment-id: | |
description: "The comment-id of the slash command. Used to update the comment with the status." | |
required: false | |
uuid: | |
description: "Custom UUID of workflow run. Used because GitHub dispatches endpoint does not return workflow run id." | |
required: false | |
connector-acceptance-test-version: | |
description: "Set a specific connector acceptance test version to use. Enter 'dev' to test, build and use a local version of Connector Acceptance Test." | |
required: false | |
default: "latest" | |
local_cdk: | |
description: "Run Connector Acceptance Tests against the CDK version on the current branch." | |
required: false | |
jobs: | |
write-deprecation-message: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Print deprecation message | |
uses: peter-evans/create-or-update-comment@v1 | |
with: | |
comment-id: ${{ github.event.inputs.comment-id }} | |
body: | | |
> :warning: The test slash command is now deprecated.<br> | |
The connector tests are automatically triggered as CI checks.<br> | |
Please use /legacy-test if you need to test CDK or CAT changes.<br> | |
Please join post to #pipeline-complaint-hotline slack channel if something is not working as expected.<br> |