-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathtrigger.yaml
More file actions
39 lines (33 loc) · 776 Bytes
/
trigger.yaml
File metadata and controls
39 lines (33 loc) · 776 Bytes
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
30
31
32
33
34
35
36
37
38
39
apiVersion: integration/v1
kind: Trigger
name: github-trigger-pull-request-merged
version: 1
summary: GitHub pull request merged
description: |
This trigger fires when a GitHub pull request is merged.
responders:
- webhook
schemas:
spec:
$schema: http://json-schema.org/draft-07/schema#
event:
source: file
file: event.schema.json
build:
apiVersion: build/v1
kind: Docker
publish:
repository: relaysh/github-trigger-pull-request-merged
examples:
- summary: When a Pull Request is merged
content:
apiVersion: v1
kind: Trigger
name: github-pr-merge
source:
type: webhook
image: relaysh/github-trigger-pull-request-merged
binding:
parameters:
repository: !Data repository
branch: !Data branch