mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-10-13 00:40:11 +00:00
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:
parent
2bfe2c2ed0
commit
f7f4f77e2e
2 changed files with 174 additions and 0 deletions
6
.github/workflows/labeler.yml
vendored
6
.github/workflows/labeler.yml
vendored
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue