forked from sv-oss/github-pr-labels-buildkite-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplugin.yml
More file actions
42 lines (42 loc) · 989 Bytes
/
plugin.yml
File metadata and controls
42 lines (42 loc) · 989 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
40
41
42
name: github-pr-labels
description: Retrieve the labels attached to a PR build and expose them via env vars or meta-data
author: https://github.com/blstrco
requirements:
- curl
- jq
configuration:
definitions:
token-from-object:
type: object
properties:
env:
type: string
file:
type: string
oneOf:
- required:
- env
- required:
- file
additionalProperties: false
pull-request-from-id-object:
type: object
properties:
pattern:
type: [string, array]
source:
type: string
required:
- pattern
- source
additionalProperties: false
properties:
token-from:
$ref: "#/definitions/token-from-object"
publish-env-var:
type: string
publish-metadata-key:
type: string
pull-request-id-from:
$ref: "#/definitions/pull-request-from-id-object"
additionalProperties: false