-
-
Notifications
You must be signed in to change notification settings - Fork 11
/
action.yml
75 lines (74 loc) · 3.16 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
63
64
65
66
67
68
69
70
71
72
73
74
75
name: 'Push to Status Check-Protected Branches'
description: 'Push local workflow commit(s) to protected branches with required status checks.'
author: 'Casper Welzel Andersen'
branding:
icon: shield
color: purple
inputs:
token:
description: 'Token for the repo.'
required: true
branch:
description: 'Target branch for the push. Mutually exclusive with "ref". Example: "main".'
required: false
default: ''
ref:
description: 'Target ref for the push. Mutually exclusive with "branch". Example: "refs/heads/main".'
required: false
default: ''
force:
description: 'Determines if --force is used.'
required: false
default: 'false'
tags:
description: 'Determines if --tags is used.'
required: false
default: 'false'
interval:
description: 'Time interval (in seconds) between each new check, when waiting for status checks to complete'
required: false
default: '30'
timeout:
description: 'Time (in minutes) of how long the action should run before timing out, waiting for status checks to complete'
required: false
default: '15'
pre_sleep:
description: "Time (in seconds) the action should wait until it will start 'waiting' and check the list of running actions/checks. This should be an appropriate number to let the checks start up"
required: false
default: '5'
post_sleep:
description: "Time (in seconds) the action should wait after it has finished 'waiting' for all checks to finish."
required: false
default: '5'
unprotect_reviews:
description: 'Momentarily remove pull request review protection from target branch'
required: false
default: 'false'
debug:
description: 'Set `set -x` in `entrypoint.sh` when running the action. This is for debugging the action.'
required: false
default: 'false'
path:
description: 'A path to the working directory of the action. This should be relative to the $GITHUB_WORKSPACE.'
required: false
default: '.'
gh_rest_api_base_url:
description: 'The base URL for the GitHub REST API. This is useful for GitHub Enterprise users. Note, `/api/v3` will be appended to this value if it does not already exist. See the note here: https://docs.github.com/en/[email protected]/rest/quickstart?apiVersion=2022-11-28&tool=curl#using-curl-commands-in-github-actions.'
required: false
default: 'https://api.github.com'
acceptable_conclusions:
description: 'A string listing acceptable statuses as comma-separated entries with no spaces. If any of these conclusions are present, the action will not fail.'
required: false
default: 'success,skipped'
fail_fast:
description: 'If set to true, the action will fail as soon as a check fails. If set to false (default), the action will wait for all checks to complete before failing.'
required: false
default: 'false'
# DEPRECATED
sleep:
description: "DEPRECATED! Use 'pre_sleep'. Time (in seconds) the action should wait until it will start 'waiting' and check the list of running actions/checks. This should be an appropriate number to let the checks start up"
required: false
default: ''
runs:
using: 'docker'
image: 'Dockerfile'