forked from airbytehq/airbyte
-
Notifications
You must be signed in to change notification settings - Fork 0
48 lines (47 loc) · 1.91 KB
/
publish-command.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
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.