diff --git a/.github/workflows/doc-label.yml b/.github/workflows/doc-label.yml index 930134674abd..d9060c30bf34 100644 --- a/.github/workflows/doc-label.yml +++ b/.github/workflows/doc-label.yml @@ -18,3 +18,14 @@ jobs: enable-versioned-regex: false repo-token: ${{ secrets.GITHUB_TOKEN }} sync-labels: 1 + - name: create an issue in doc repo + uses: dacbd/create-issue-action@main + if: ${{ contains(github.event.pull_request.body, '- [ ] This PR does not require documentation updates.') }} + with: + owner: GreptimeTeam + repo: docs + token: ${{ secrets.DOCS_REPO_TOKEN }} + title: Update docs for ${{ github.event.issue.title || github.event.pull_request.title }} + body: | + A document change request is generated from + ${{ github.event.issue.html_url || github.event.pull_request.html_url }}