Create pr-labeler.yml

This commit is contained in:
吴多益 2022-03-31 21:26:20 +08:00 committed by GitHub
parent f670202f18
commit f2d57cbef0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

14
.github/workflows/pr-labeler.yml vendored Normal file
View File

@ -0,0 +1,14 @@
name: PR Labeler
on:
pull_request:
types: [opened]
jobs:
pr-labeler:
runs-on: ubuntu-latest
steps:
- uses: TimonVS/pr-labeler-action@v3
with:
configuration-path: .github/pr-labeler.yml # optional, .github/pr-labeler.yml is the default value
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}