blob: 6fc94c21817a7ddd55e9aff2a595fe1d38449f07 [file] [log] [blame]
- pipeline:
name: pipeline
manager: independent
require:
github:
status: "zuul:check:success"
trigger:
github:
- event: pull_request
action: comment
comment: 'test me'
success:
github:
comment: true
- pipeline:
name: trigger
manager: independent
trigger:
github:
- event: pull_request
action: status
status: 'zuul:check:success'
success:
github:
status: 'success'
failure:
github:
status: 'failure'
- pipeline:
name: reviewusername
manager: independent
require:
github:
review:
- username: '^(herp|derp)$'
type: approved
trigger:
github:
- event: pull_request
action: comment
comment: 'test me'
success:
github:
comment: true
- pipeline:
name: reviewreq
manager: independent
require:
github:
review:
- type: approved
permission: write
trigger:
github:
- event: pull_request
action: comment
comment: 'test me'
success:
github:
comment: true
- pipeline:
name: reviewuserstate
manager: independent
require:
github:
review:
- username: 'derp'
type: approved
permission: write
trigger:
github:
- event: pull_request
action: comment
comment: 'test me'
success:
github:
comment: true
- job:
name: project1-pipeline
- job:
name: project2-trigger
- job:
name: project3-reviewusername
- job:
name: project4-reviewreq
- job:
name: project5-reviewuserstate
- project:
name: org/project1
pipeline:
jobs:
- project1-pipeline
- project:
name: org/project2
trigger:
jobs:
- project2-trigger
- project:
name: org/project3
reviewusername:
jobs:
- project3-reviewusername
- project:
name: org/project4
reviewreq:
jobs:
- project4-reviewreq
- project:
name: org/project5
reviewuserstate:
jobs:
- project5-reviewuserstate