Use 'test' label only for test related pull request (#28956)

Path components of 'file' parent key which are valid GitHub labels
are automatically added to the label list [1]. 'test' is a valid label,
hence 'test' and 'test_pull_requests' were both added.

Fix 3334407c71
[1] 9dd71e881b/ansibullbot/parsers/botmetadata.py (L54)
pull/29660/head
Pilou 7 years ago committed by Sam Doran
parent 177ce3014c
commit 6339a27042

@ -28,7 +28,8 @@
# deprecated - this file is deprecated but probably not yet renamed
# keywords - used to identify this file based on the issue description
# support - used for files without internal metadata
# labels - list of GitHub labels to apply
# labels - list of GitHub labels to apply. Path components of 'file' parent key
# which are valid GitHub labels are automatically added.
#
automerge: True
@ -1076,13 +1077,13 @@ files:
keywords:
- validate-modules
test/:
labels: test_pull_requests
# 'test' automatically added to labels
docs/:
labels: docs_pull_request
notify:
- dharmabumstead
packaging/:
labels: packaging
# 'packaging' automatically added to labels
macros:
module_utils: lib/ansible/module_utils
modules: lib/ansible/modules

Loading…
Cancel
Save