Skip to content

Commit

Permalink
chore: attempt to add doc issue in label task
Browse files Browse the repository at this point in the history
  • Loading branch information
sunng87 committed Dec 27, 2023
1 parent feec4e2 commit c28cb59
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
if: contains(github.event.pull_request.labels.*.name, 'doc update required')
uses: dacbd/create-issue-action@main
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 c28cb59

Please sign in to comment.