From 6339a27042b4884ceb6f028cfeba77627ec7b333 Mon Sep 17 00:00:00 2001 From: Pilou Date: Mon, 11 Sep 2017 21:09:40 +0200 Subject: [PATCH] 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 3334407c71e21d378df424c2459a5403954bbd7b [1] https://github.com/ansible/ansibullbot/blob/9dd71e881baa45bf925713632c5aae015c365ee2/ansibullbot/parsers/botmetadata.py#L54 --- .github/BOTMETA.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/BOTMETA.yml b/.github/BOTMETA.yml index 181dcb4ae7..7f13fdaa67 100644 --- a/.github/BOTMETA.yml +++ b/.github/BOTMETA.yml @@ -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