-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
64 lines (64 loc) · 1.53 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
name: 'action-env'
author: 'hocgin'
description: '项目环境判定'
inputs:
debug:
required: false
default: false
description: '是否测试状态'
offset_hours:
required: true
default: '-8'
description: '时区偏移小时'
outputs:
env:
description: '最终环境: dev/test/rls/prod/unknown'
source_branch:
description: '发起的分支: feature-xx'
target_branch:
description: '目标的分支: master'
tag:
description: '标签: v1.0.0'
version:
description: '版本: v1.0.0'
version_number:
description: '版本号: 1.0.0'
action_event_name:
description: '触发事件: schedule/'
action_html_url:
description: '触发工作流地址'
action_workflow:
description: '触发工作流文件'
action_trigger_at:
description: '触发时间'
repo_name:
description: '仓库名称'
repo_full_name:
description: '仓库全名称'
repo_owner:
description: '仓库作者'
repo_homepage:
description: '仓库主页'
repo_description:
description: '仓库描述'
repo_html_url:
description: '仓库地址'
repo_language:
description: '仓库语言'
commit_html_url:
description: '提交地址'
commit_body:
description: '提交消息'
commit_ref:
description: '提交分支'
commit_sha:
description: '提交地址'
sender:
description: '操作人: hocgin'
sender_avatar_url:
description: '操作人头像'
sender_html_url:
description: '操作人主页'
runs:
using: node16
main: dist/index.js