This repository was archived by the owner on Sep 4, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathaction.yml
More file actions
46 lines (46 loc) · 1.56 KB
/
action.yml
File metadata and controls
46 lines (46 loc) · 1.56 KB
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
name: "Cross Commit"
description: "Cross Commits Files from the base repository to another repo"
inputs:
source-folder:
description: "Sub folder of the repository to copy"
required: true
destination-repository:
description: "Repository to be commited to. In case of private repository, state with access token as a secret"
required: true
destination-folder:
description: "Sub folder of the repository to copy into"
required: true
destination-branch:
description: "Branch of the destination repository to commit to"
required: true
default: "alpha"
git-user:
description: "User that will be used to create the git commit"
required: true
git-user-email:
description: "User email that will be used to create the git commit"
required: true
git-commit-message:
description: "Custom commit message to use"
default: ""
required: false
git-commit-sign-off:
description: "Sign-off commit"
default: "false"
required: false
excludes:
description: "Optionally exclude some directories from being synced in both src and dst. The value is treated as column separated list, e.g. skip_dir_in_src:.git:skip_dir_in_dst"
required: false
runs:
using: "docker"
image: "Dockerfile"
args:
- ${{ inputs.source-folder }}
- ${{ inputs.destination-repository }}
- ${{ inputs.destination-folder }}
- ${{ inputs.destination-branch }}
- ${{ inputs.git-user }}
- ${{ inputs.git-user-email }}
- ${{ inputs.git-commit-message }}
- ${{ inputs.git-commit-sign-off }}
- ${{ inputs.excludes }}