mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-27 01:11:14 +00:00
c7757810fc
This adds GitHub CI action which makes use of 'Labeler', allowing
automatic labeling of new PRs, based on the modified files paths.
Below labels are supported and more can be added later:
- 'target/*'
- 'target/imagebuilder'
- 'kernel'
- 'core packages'
- 'build/scripts/tools'
- 'toolchain'
- 'GitHub/CI'
For more information:
https://github.com/marketplace/actions/labeler
Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
(cherry picked from commit 4f42566d47
)
13 lines
247 B
YAML
13 lines
247 B
YAML
name: 'Pull Request Labeler'
|
|
on:
|
|
- pull_request_target
|
|
|
|
jobs:
|
|
labeler:
|
|
name: Pull Request Labeler
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/labeler@v4.0.1
|
|
with:
|
|
repo-token: '${{ secrets.GITHUB_TOKEN }}'
|