forked from stordco/actions-sync
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
85 lines (81 loc) · 2.3 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
76
77
78
79
80
81
82
83
84
85
name: actions-sync
description: Sync GitHub repositories via templates and scripts
author: Stord
branding:
icon: git-branch
color: gray-dark
inputs:
commit-branch:
description: The branch to commit changes to
required: false
type: string
default: gha/actions-sync
commit-message:
description: The commit message to use when committing changes
required: false
type: string
default: "chore: sync files"
commit-user-email:
description: The email address to use when committing changes
required: false
type: string
default: 41898282+github-actions[bot]@users.noreply.github.com
commit-user-name:
description: The name to use when committing changes
required: false
type: string
default: github-actions[bot]
path:
description: Relative path under $GITHUB_WORKSPACE where the repository to be synced is located
required: false
type: string
pr-body:
description: The body of the pull request to create
required: false
type: string
pr-enabled:
description: Whether to create a pull request on changes
required: false
type: boolean
default: true
pr-labels:
description: The labels to apply to the newly created pull request
required: false
type: string
pr-review-users:
description: Users to assign to review the newly created pull request
required: false
type: string
pr-title:
description: The title of the pull request to create
required: false
type: string
default: "chore: sync files"
pr-token:
description: GitHub token used for creating the pull request
required: false
type: string
sync-auth:
description: HTTP auth url string for cloning the sync repository
required: false
type: string
sync-branch:
deprecationMessage: sync-branch has been replaced with sync-tree and now allows git shas.
description: The repository branch to sync from
required: false
type: string
sync-repository:
description: The repository to sync from
required: true
type: string
sync-tree:
description: The repository branch or sha to sync from
required: false
type: string
default: main
outputs:
pull_request_url:
description: The URL of the pull request that was created, if any
runs:
using: node20
main: dist/index.js