chore: add labeler action (#2268)

This commit is contained in:
Bo Kou
2024-07-26 11:29:48 +08:00
committed by GitHub
parent 526b0e0a99
commit 04770ec4f7
2 changed files with 17 additions and 0 deletions

5
.github/labeler.yml vendored Normal file
View File

@@ -0,0 +1,5 @@
documentation:
- changed-files:
- any-glob-to-any-file:
- docs/*
- examples/*

12
.github/workflows/labeler.yml vendored Normal file
View File

@@ -0,0 +1,12 @@
name: "Pull Request Labeler"
on:
- pull_request_target
jobs:
labeler:
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v5