1
0
mirror of synced 2026-01-08 21:05:13 -05:00
Files
airbyte/.github/workflows/publish-command.yml
2023-05-22 10:10:56 +02:00

49 lines
1.9 KiB
YAML

name: Deprecation message for publish slash command
on:
workflow_dispatch:
inputs:
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
connector:
description: "Airbyte Connector"
required: true
comment-id:
description: "The comment-id of the slash command. Used to update the comment with the status."
required: false
parallel:
description: "Switching this to true will spin up 5 build agents instead of 1 and allow multi connector publishes to run in parallel"
required: true
default: "false"
run-tests:
description: "Should run tests when publishing"
required: true
default: "true"
pre-release:
description: "Should publish a pre-release version"
required: true
default: "false"
jobs:
write-deprecation-message:
name: Set up git comment
if: github.event.inputs.comment-id
runs-on: ubuntu-latest
steps:
- name: Print deprecation message
if: github.event.inputs.comment-id
uses: peter-evans/create-or-update-comment@v1
with:
comment-id: ${{ github.event.inputs.comment-id }}
body: |
> :warning: The publish slash command is now deprecated.<br>
The connector publication happens on merge to the master branch.<br>
Please use /legacy-publish if you need to publish normalization images.<br>
Please join the #publish-on-merge-updates slack channel to track ongoing publish pipelines.<br>
Please reach out to the @dev-connector-ops team if you need support in publishing a connector.