chore(ci): auto doc labeler job (#2998)

* chore(ci): auto doc labeler job

Signed-off-by: Ruihang Xia <waynestxia@gmail.com>

* tweak rules

Signed-off-by: Ruihang Xia <waynestxia@gmail.com>

---------

Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
This commit is contained in:
Ruihang Xia
2023-12-25 23:55:01 +08:00
committed by GitHub
parent 417be13400
commit 3bd2f79841
3 changed files with 24 additions and 0 deletions

19
.github/workflows/doc-label.yml vendored Normal file
View File

@@ -0,0 +1,19 @@
name: "PR Doc Labeler"
on:
pull_request:
types: [opened, edited]
permissions:
pull-requests: write
contents: read
jobs:
triage:
if: ${{ github.repository == 'GreptimeTeam/greptimedb' }}
runs-on: ubuntu-latest
steps:
- uses: github/issue-labeler@v3.3
with:
configuration-path: .github/doc-label-config.yml
enable-versioned-regex: false
repo-token: ${{ github.token }}