Skip to content

Commit eef8342

Browse files
committed
multi dist repo #1
1 parent 4f34a27 commit eef8342

File tree

3 files changed

+12
-9
lines changed

3 files changed

+12
-9
lines changed

.github/workflows/sync.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,19 @@ on:
1212
workflow_call:
1313
inputs:
1414
target_sync_repo:
15-
description: "目标(下游)仓库,格式为 owner/repository ,必须指定"
15+
description: "目标(下游)仓库,格式为 owner/repository"
1616
required: true
1717
type: string
1818
target_sync_branch:
19-
description: "目标(下游)同步分支,必须指定"
19+
description: "目标(下游)同步分支"
2020
required: true
2121
type: string
2222
upstream_sync_repo:
2323
description: "上游仓库,默认为 github.repository ,根据实际情况修改"
2424
type: string
2525
default: ${{ github.repository }}
2626
upstream_sync_branch:
27-
description: "上游同步分支,必须指定"
27+
description: "上游同步分支"
2828
required: true
2929
type: string
3030
sync_test_mode: # Adds a boolean option that appears during manual workflow run for easy test mode config

.github/workflows/test.yml

+6-3
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ on:
44
workflow_dispatch:
55
inputs:
66
name:
7-
description: "目标名,必须指定"
7+
description: "目标名"
8+
required: true
89
type: choice
910
options:
1011
- test1
@@ -30,7 +31,8 @@ on:
3031
- test21
3132
- test22
3233
repo_name:
33-
description: "目标(下游)仓库,格式为 owner/repository ,必须指定"
34+
description: "目标(下游)仓库,格式为 owner/repository"
35+
required: true
3436
type: choice
3537
options:
3638
- prototype-test/dist-repo-use-branch_test1
@@ -56,7 +58,8 @@ on:
5658
- prototype-test/dist-repo-use-branch_test21
5759
- prototype-test/dist-repo-use-branch_test22
5860
upstream_dist_path:
59-
description: "上游仓库分发路径,必须指定,不能以 / 结尾"
61+
description: "上游仓库分发路径,不能以 / 结尾"
62+
required: true
6063
type: choice
6164
options:
6265
- test/test1

.github/workflows/validation-proxy.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ on:
77
workflow_call:
88
inputs:
99
name:
10-
description: "目标(下游)名,必须指定"
10+
description: "目标(下游)名"
1111
required: true
1212
type: string
1313
repo_name:
14-
description: "目标(下游)仓库,格式为 owner/repository ,必须指定"
14+
description: "目标(下游)仓库,格式为 owner/repository"
1515
required: true
1616
type: string
1717
main_branch:
@@ -23,7 +23,7 @@ on:
2323
default: ${{ github.repository }} # prototype-validation/dist-repo-use-branch_upstream #
2424
type: string
2525
upstream_dist_path:
26-
description: "上游仓库分发路径,必须指定,不能以 / 结尾"
26+
description: "上游仓库分发路径,不能以 / 结尾"
2727
required: true
2828
type: string
2929

0 commit comments

Comments
 (0)