Fix automatic labeling system due to upstream breaking change (#6011)
This commit is contained in:
parent
e504369708
commit
3611f6ebbe
40
.github/labeler.yml
vendored
40
.github/labeler.yml
vendored
@ -11,29 +11,19 @@
|
||||
# Please keep the labels sorted and deduplicated.
|
||||
|
||||
"Hardware":
|
||||
- patch/u-boot/*
|
||||
- patch/u-boot/**/*
|
||||
- patch/atf/*
|
||||
- config/bootenv/*
|
||||
- config/bootscripts/*
|
||||
- patch/kernel/*
|
||||
- patch/kernel/**/*
|
||||
- patch/misc/*
|
||||
- patch/crust/*
|
||||
- config/kernel/*
|
||||
- config/sources/*
|
||||
- config/sources/**/*
|
||||
- config/boards/*
|
||||
- config/bootscripts/*
|
||||
- config/bootenv/*
|
||||
|
||||
"Software":
|
||||
- lib/*
|
||||
- tools/*
|
||||
- config/cli/*
|
||||
- packages/*
|
||||
- extensions/*
|
||||
- .github/workflows/*
|
||||
|
||||
- all:
|
||||
- changed-files:
|
||||
- any-glob-to-any-file: ['patch/**/*','config/**/*']
|
||||
- all-globs-to-all-files: ['!config/cli/*','!config/desktop/*','!config/distributions/*']
|
||||
"Framework":
|
||||
- all:
|
||||
- changed-files:
|
||||
- any-glob-to-any-file: ['lib/*','tools/*','config/cli*','packages/*','extensions/*']
|
||||
"Action scripts":
|
||||
- all:
|
||||
- changed-files:
|
||||
- any-glob-to-any-file: ['.github/workflows/*']
|
||||
"Desktop":
|
||||
- config/desktop/*
|
||||
- all:
|
||||
- changed-files:
|
||||
- any-glob-to-any-file: ['config/desktop/*']
|
||||
|
||||
5
.github/labels.yml
vendored
5
.github/labels.yml
vendored
@ -49,9 +49,12 @@
|
||||
- name: "Hardware"
|
||||
color: "bfd4f2"
|
||||
description: "Hardware related - kernel, u-boot, patches"
|
||||
- name: "Software"
|
||||
- name: "Framework"
|
||||
color: "bfd4f2"
|
||||
description: "Framework components"
|
||||
- name: "Action scripts"
|
||||
color: "bfd4f2"
|
||||
description: "GitHub Action scripts"
|
||||
- name: "Work in progress"
|
||||
color: "29E414"
|
||||
description: "Unfinished / work in progress"
|
||||
|
||||
2
.github/workflows/labeler.yml
vendored
2
.github/workflows/labeler.yml
vendored
@ -6,12 +6,14 @@ permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
|
||||
triage:
|
||||
permissions:
|
||||
contents: read # for actions/labeler to determine modified files
|
||||
pull-requests: write # for actions/labeler to add labels to PRs
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/labeler@v5
|
||||
with:
|
||||
repo-token: "${{ secrets.GITHUB_TOKEN }}"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user