-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
action.yaml
58 lines (55 loc) · 1.73 KB
/
action.yaml
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
name: 'Monorepo Slicer'
description: 'Split mono packages into many single repositories'
author: "Enes Erk <support@eneserk.de>"
inputs:
access_token:
description: 'The token to access the repository'
required: true
repository_protocol:
description: 'Protokoll (https://)'
required: true
default: 'https://'
repository_host:
description: 'The Host of the mono repository'
required: true
default: 'github.com'
repository_organization:
description: 'Remote organization'
required: true
repository_name:
description: 'Remote repository'
required: true
default_branch:
description: 'Default Branch of the repository'
required: true
default: 'main'
target_branch:
description: 'The target branch'
required: true
default: 'main'
package_directory:
description: 'Local package directory'
required: true
remote_repository:
description: 'remote repository'
required: true
remote_repository_access_token:
description: 'GitHub Token for remote repository'
required: false
runs:
using: 'docker'
image: 'docker://ghcr.io/erkenes/monorepo-split-action/php:1.3.0'
args:
- ${{ inputs.access_token }}
- ${{ inputs.repository_protocol }}
- ${{ inputs.repository_host }}
- ${{ inputs.repository_organization }}
- ${{ inputs.repository_name }}
- ${{ inputs.default_branch }}
- ${{ inputs.target_branch }}
- ${{ inputs.package_directory }}
- ${{ inputs.remote_repository }}
- ${{ inputs.remote_repository_access_token }}
branding:
icon: database
color: blue