From a33d1e986390b6960308cae0e3d42855a862db30 Mon Sep 17 00:00:00 2001 From: Ning Sun Date: Wed, 15 Feb 2023 17:17:32 +0800 Subject: [PATCH] ci: add cloud followup label (#1007) ci: add cloud followup support --- .github/workflows/doc-issue.yml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/.github/workflows/doc-issue.yml b/.github/workflows/doc-issue.yml index a06102a479..67a654d147 100644 --- a/.github/workflows/doc-issue.yml +++ b/.github/workflows/doc-issue.yml @@ -1,4 +1,4 @@ -name: Create Issue in docs repo on doc related changes +name: Create Issue in downstream repos on: issues: @@ -23,3 +23,17 @@ jobs: body: | A document change request is generated from ${{ github.event.issue.html_url || github.event.pull_request.html_url }} + cloud_issue: + if: github.event.label.name == 'cloud followup required' + runs-on: ubuntu-latest + steps: + - name: create an issue in cloud repo + uses: dacbd/create-issue-action@main + with: + owner: GreptimeTeam + repo: greptimedb-cloud + token: ${{ secrets.DOCS_REPO_TOKEN }} + title: Followup changes in ${{ github.event.issue.title || github.event.pull_request.title }} + body: | + A followup request is generated from + ${{ github.event.issue.html_url || github.event.pull_request.html_url }}