-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
66 lines (63 loc) · 1.65 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
name: "Main action file of Docker container actions"
description: "Docker container actions"
inputs:
GITHUB_TOKEN:
description: "Token used to access repo"
required: false
owner:
description: owner name
default: ${{ github.repository_owner }}
required: false
repo:
description: repository name
default: ${{ github.repository }}
required: false
base:
description: Base URI
default: "https://api.github.com"
required: false
head_ref:
description: Head Refer branch
default: ${{ contains(github.head_ref, 'release') }}
required: false
base_ref:
description: Base Refer branch
default: ${{ contains(github.base_ref, 'master') }}
required: false
pr_description:
description: PR description
required: false
pr_number:
description: PR number
required: false
merge_pr:
description: PR number
required: false
close_pr:
description: PR number
required: false
version_file:
description: contents from version file
required: false
event:
description: event type
required: false
webhook:
description: webhook URL
required: false
runs:
using: 'docker'
image: 'Dockerfile'
env:
REPO_OWNER: ${{ inputs.owner }}
REPO_NAME: ${{ inputs.repo }}
BASE_URI: ${{ inputs.base }}
HEAD_REF: ${{ inputs.head_ref }}
BASE_REF: ${{ inputs.base_ref }}
PR_DESCRIPTION: ${{ inputs.pr_description }}
PR_NUMBER: ${{ inputs.pr_number }}
MERGE_PR: ${{ inputs.merge_pr }}
CLOSE_PR: ${{ inputs.close_pr }}
VERSION_FILE: ${{ inputs.version_file }}
EVENT: ${{ inputs.event }}
WEBHOOK: ${{ inputs.webhook }}