summaryrefslogtreecommitdiff
path: root/tests/fixtures/layouts/labeling-github.yaml
blob: 33ce99302054ad6cdb07c333b074f6eb19c334d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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