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 # deprecated - this file is deprecated but probably not yet renamed
# keywords - used to identify this file based on the issue description # keywords - used to identify this file based on the issue description
# support - used for files without internal metadata # 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 automerge: True
@ -1076,13 +1077,13 @@ files:
keywords: keywords:
- validate-modules - validate-modules
test/: test/:
labels: test_pull_requests # 'test' automatically added to labels
docs/: docs/:
labels: docs_pull_request labels: docs_pull_request
notify: notify:
- dharmabumstead - dharmabumstead
packaging/: packaging/:
labels: packaging # 'packaging' automatically added to labels
macros: macros:
module_utils: lib/ansible/module_utils module_utils: lib/ansible/module_utils
modules: lib/ansible/modules modules: lib/ansible/modules

Loading…
Cancel
Save