forked from NxtLvLSoftware/git-subtree-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
31 lines (31 loc) · 1.16 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
name: "nxtlvlsoftware/git-subtree"
description: "Sync a sub-directory from a parent repo to a child repository (git subtree.)"
inputs:
repo:
description: "Child repository to sync the subtree to (eg. owner/repository.)"
required: true
path:
description: "Path prefix in parent repo to split into child subtree (eg. src/PackageName.)"
required: true
deploy_key:
## Use a repo/org secret for this value. ##
description: "Deployment SSH key for pushing to child repo (checkout out deployment tokens for single repos or bot accounts for multi-repos/orgs.)"
required: true
tag:
description: "Create (or mirror) a tag on the child subtree repository (branch or tag ref that triggered the workflow when true.)"
required: false
default: "false"
force:
description: "Force push to the child subtree repository (recommended for pure downstream mirrors.)"
required: false
default: "false"
branch:
description: "Branch of child subtree repository (default is branch or tag ref that triggered the workflow.)"
required: false
default: ""
runs:
using: "docker"
image: "Dockerfile"
branding:
icon: share-2
color: blue