Skip to content

Commit

Permalink
chore: attempt to add doc issue in label task (#3021)
Browse files Browse the repository at this point in the history
* chore: attempt to add doc issue in label task

* ci: check pr body for doc issue creation
  • Loading branch information
sunng87 authored Dec 29, 2023
1 parent 11ae85b commit 41e51d4
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/doc-label.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit 41e51d4

Please sign in to comment.