armbian-build/.github/labeler.yml
ColorfulRhino c3756dae68 actions: Use "all-globs" instead of "any-glob" for negated checks
If we want to check if a file is not from one of the listed folders, it needs to be check that
"NOT x AND NOT y AND NOT z" is true, instead of
"NOT x OR NOT y OR NOT z"
2024-06-25 07:06:47 +02: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/**/*']
- 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/**/*']
"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'