Jan Hruban | 16ad31f | 2015-11-07 14:39:07 +0100 | [diff] [blame^] | 1 | - pipeline: |
2 | name: labels | ||||
3 | description: Trigger on labels | ||||
4 | manager: independent | ||||
5 | trigger: | ||||
6 | github: | ||||
7 | - event: pull_request | ||||
8 | action: labeled | ||||
9 | label: | ||||
10 | - 'test' | ||||
11 | - event: pull_request | ||||
12 | action: unlabeled | ||||
13 | label: | ||||
14 | - 'do not test' | ||||
15 | success: | ||||
16 | github: | ||||
17 | label: | ||||
18 | - 'tests passed' | ||||
19 | unlabel: | ||||
20 | - 'test' | ||||
21 | |||||
22 | - job: | ||||
23 | name: project-labels | ||||
24 | |||||
25 | - project: | ||||
26 | name: org/project | ||||
27 | labels: | ||||
28 | jobs: | ||||
29 | - project-labels |