forked from upsidr/merge-gatekeeper
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
40 lines (40 loc) · 1.05 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
name: "Merge Gatekeeper"
description: "Get better merge control"
branding:
icon: git-merge
color: orange
inputs:
token:
description: "set github token"
required: true
self:
description: "set self job name"
required: false
default: "merge-gatekeeper"
interval:
description: "set validate interval second (default 5)"
required: false
default: "5"
timeout:
description: "set validate timeout second (default 600)"
required: false
default: "600"
ignored:
description: "set ignored jobs (comma-separated list)"
required: false
default: ""
ref:
description: "set ref of github repository. the ref can be a SHA, a branch name, or tag name"
required: false
default: ${{ github.event.pull_request.head.sha }}
runs:
using: "docker"
image: "Dockerfile"
args:
- "validate"
- "--token=${{ inputs.token }}"
- "--self=${{ inputs.self }}"
- "--interval=${{ inputs.interval }}"
- "--ref=${{ inputs.ref }}"
- "--timeout=${{ inputs.timeout }}"
- "--ignored=${{ inputs.ignored }}"