Create auto-labeler

This commit is contained in:
吴多益 2022-03-31 21:33:52 +08:00 committed by GitHub
parent 616394c4c4
commit 3eaf81d8e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

18
.github/workflows/auto-labeler vendored Normal file
View File

@ -0,0 +1,18 @@
name: Community
on:
issues:
types: [opened, edited, milestoned]
pull_request_target:
types: [opened]
jobs:
labeler:
runs-on: ubuntu-latest
steps:
- name: Check Labels
id: labeler
uses: jimschubert/labeler-action@v2
with:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}