-
Notifications
You must be signed in to change notification settings - Fork 48
/
action.yml
62 lines (60 loc) · 2 KB
/
action.yml
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
name: 'Trigger Buildkite Pipeline'
author: 'Buildkite'
description: 'A GitHub Action for triggering a build on a Buildkite pipeline.'
inputs:
buildkite_api_access_token:
description: 'Buildkite API Access Token'
required: true
pipeline:
description: 'The pipline to create a build on, in the format <org-slug>/<pipeline-slug>'
required: true
commit:
description: 'The commit SHA of the build'
required: false
default: HEAD
branch:
description: 'The branch of the build'
required: false
message:
description: 'The message for the build'
required: false
send_pull_request:
description: 'Whether to set PULL_REQUEST_ID, which sets BUILDKITE_PULL_REQUEST on the build. Does not work for cross-repo builds. Defaults to true'
required: false
pull_request_base_branch:
description: 'For a pull request build, the base branch of the pull request.'
required: false
build_env_vars:
description: 'Additional environment variables to set on the build, in JSON format'
required: false
build_meta_data:
description: 'Meta-data to set on the build, in JSON format'
required: false
ignore_pipeline_branch_filter:
description: 'Ignore pipeline branch filtering when creating a new build. true or false'
required: false
wait:
description: 'Wait for the build to finish before completing. true or false'
required: false
default: 'false'
wait_interval:
description: 'Interval in seconds between build status checks when waiting'
required: false
default: '10'
wait_timeout:
description: 'Maximum time in seconds to wait for build completion'
required: false
default: '3600'
runs:
using: 'docker'
image: 'Dockerfile'
branding:
icon: 'send'
color: 'green'
outputs:
json:
description: 'The full JSON response from the Buildkite API'
url:
description: 'The URL of the build on Buildkite'
state:
description: 'The final state of the build (when wait=true)'