diff options
author | Jan Hruban <jan.hruban@gooddata.com> | 2015-11-07 14:39:07 +0100 |
---|---|---|
committer | Jesse Keating <omgjlk@us.ibm.com> | 2017-05-10 14:19:51 -0700 |
commit | 16ad31f3c6859af74329d8fe04fe6e30b8fb97cc (patch) | |
tree | b85c8716f890a13fc21165cd44af189bd5ee473c /tests/fixtures/layouts/labeling-github.yaml | |
parent | 49bff07ec826180f5ab39de8727f193bcc280448 (diff) | |
download | zuul-16ad31f3c6859af74329d8fe04fe6e30b8fb97cc.tar.gz |
support github pull request labels
Allow to match trigger on adding or removing github labels. Also
reporter can add or remove labels.
Change-Id: Id385b92590e252c283ba3ebe1ecfd33b34469a2e
Co-Authored-By: Jesse Keating <omgjlk@us.ibm.com>
Diffstat (limited to 'tests/fixtures/layouts/labeling-github.yaml')
-rw-r--r-- | tests/fixtures/layouts/labeling-github.yaml | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/tests/fixtures/layouts/labeling-github.yaml b/tests/fixtures/layouts/labeling-github.yaml new file mode 100644 index 000000000..33ce99302 --- /dev/null +++ b/tests/fixtures/layouts/labeling-github.yaml @@ -0,0 +1,29 @@ +- pipeline: + name: labels + description: Trigger on labels + manager: independent + trigger: + github: + - event: pull_request + action: labeled + label: + - 'test' + - event: pull_request + action: unlabeled + label: + - 'do not test' + success: + github: + label: + - 'tests passed' + unlabel: + - 'test' + +- job: + name: project-labels + +- project: + name: org/project + labels: + jobs: + - project-labels |