chore: add PR labeler action (#12136)

This commit is contained in:
neverland
2023-07-30 13:13:53 +08:00
committed by GitHub
parent ad6514f43d
commit 02b6779c42
2 changed files with 21 additions and 2 deletions
+20
View File
@@ -0,0 +1,20 @@
name: PR Labeler
on:
pull_request_target:
types:
- opened
- edited
jobs:
change-labeling:
name: Labeling for changes
runs-on: ubuntu-latest
steps:
- uses: github/issue-labeler@v3.1
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
configuration-path: .github/pr-labeler.yml
enable-versioned-regex: 0
include-title: 1
sync-labels: 1