forked from Azure/azure-rest-api-specs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
68 lines (66 loc) · 1.93 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
name: 'Repo File Sync Action For Large GitHub Tree'
description: 'GitHub Action to Sync Files like Workflows Between Repositories.'
author: 'JackTn'
inputs:
SOURCE:
description: |
source owner
required: true
DEST:
description: |
dest owner
required: true
FILE_PATH:
description: |
dest FILE_PATH
required: true
GITHUB_TOKEN:
description: |
GitHub Personal Access Token to use to get repos and write secrets
required: true
COMMIT_BODY:
description: |
Commit message body. Will be appended to commit message, separated by two line returns. Defaults to ''
required: false
COMMIT_PREFIX:
description: |
Prefix for commit message and pull request title. Defaults to 🔄
required: false
CREATE_TREE_LIMIT:
description: |
When create tree failed by large trees to build, try to down this limit
required: false
COMMIT_MESSAGE:
description: |
Use this commit message instead of the default from commit data. Defaults to ''
required: false
PR_LABELS:
description: |
Labels which will be added to the pull request. Defaults to sync. Set to false to turn off
required: false
PR_BODY:
description: |
Additional content to add in the PR description. Defaults to ''
required: false
ASSIGNEES:
description: |
Users to assign to the pull request. Defaults to none
required: false
REVIEWERS:
description: |
Users to request a review of the pull request from. Defaults to none
required: false
TEAM_REVIEWERS:
description: |
Teams to request a review of the pull request from. Defaults to none
required: false
BRANCH_PREFIX:
description: |
Specify a different prefix for the new branch in the target repo. Defaults to repo-sync/SOURCE_REPO_NAME
required: false
runs:
using: 'node16'
main: '.github/syncRepoFiles/index.js'
branding:
icon: 'git-merge'
color: 'blue'