blob: 33ce99302054ad6cdb07c333b074f6eb19c334d7 [file] [log] [blame]
Jan Hruban16ad31f2015-11-07 14:39:07 +01001- 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