mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-01-05 21:02:58 +00:00
26 lines
721 B
YAML
26 lines
721 B
YAML
name: Create Issue in docs repo on doc related changes
|
|
|
|
on:
|
|
issues:
|
|
types:
|
|
- labeled
|
|
pull_request_target:
|
|
types:
|
|
- labeled
|
|
|
|
jobs:
|
|
doc_issue:
|
|
if: github.event.label.name == 'doc update required'
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: create an issue in doc repo
|
|
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 }}
|