armbian-build/.github/labeler.yml
ColorfulRhino 5a19cb410e actions: Have auto-labeler check subdirectories
This fixes a lot of labels not getting applied properly.
2024-06-19 20:50:48 +00:00

43 lines
1.1 KiB
YAML

# This configures label matching for PR's.
#
# The keys are labels, and the values are lists of minimatch patterns
# to which those labels apply.
#
# NOTE: This can only add labels, not remove them.
# NOTE: Due to YAML syntax limitations, patterns or labels which start
# with a character that is part of the standard YAML syntax must be
# quoted.
#
# Please keep the labels sorted and deduplicated.
"Hardware":
- all:
- changed-files:
- any-glob-to-any-file: ['patch/**/*','config/**/*']
- any-glob-to-all-files: ['!config/cli/**/*','!config/desktop/**/*','!config/distributions/**/*']
"Framework":
- all:
- changed-files:
- any-glob-to-any-file: ['lib/**/*','tools/**/*','config/cli/**/*','packages/**/*','extensions/**/*']
"Actions scripts":
- all:
- changed-files:
- any-glob-to-any-file: ['.github/workflows/**/*']
"Desktop":
- all:
- changed-files:
- any-glob-to-any-file: ['config/desktop/**/*']
"Patches":
- all:
- changed-files:
- any-glob-to-any-file: ['patch/**/*']
# Add 'Documentation' label to any change to .md files within the entire repository
"Documentation":
- changed-files:
- any-glob-to-any-file: '**/*.md'