github: add auto labeler for PR

this commit adds initial support for auto labeler for PR
based on https://github.com/actions/labeler
This commit is contained in:
raiden00pl 2024-10-02 11:30:02 +02:00 • committed by Xiang Xiao
parent 2bfe2c2ed0
commit f7f4f77e2e
2 changed files with 174 additions and 0 deletions

View file

@ -27,6 +27,12 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4
- name: Assign labels based on paths
uses: actions/labeler@main
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
sync-labels: true
- name: Assign labels based on the PR's size
uses: codelytv/pr-size-labeler@v1.10.1
with: