-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
52 lines (52 loc) · 1.57 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
name: 'Pull Request another repository'
description: 'Used for pull request a copy of a folder to another repository'
inputs:
source_folder:
description: 'Source folder from origin'
required: true
source_files:
description: 'Source files from origin'
required: true
destination_repo:
description: 'Destination repository'
required: true
destination_folder:
description: 'Destination folder to push the origin folder'
required: false
user_email:
description: 'Email for the git commit'
required: true
user_name:
description: 'GitHub username for the commit'
required: true
destination_head_branch:
description: 'The branch to create to push the changes. Cannot be master or main'
required: true
timestamp_head_branch:
description: 'Whether or not to append a timestamp to the branch name'
required: false
default: false
destination_base_branch:
description: 'The branch into which you want your code merged.'
required: false
default: "main"
pull_request_reviewers:
description: 'Pull request reviewers users'
required: false
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.source-folder }}
- ${{ inputs.source-files }}
- ${{ inputs.destination-repo }}
- ${{ inputs.destination-folder }}
- ${{ inputs.user-email }}
- ${{ inputs.user-name }}
- ${{ inputs.destination-head-branch }}
- ${{ inputs.timestamp-head-branch }}
- ${{ inputs.destination-base-branch }}
- ${{ inputs.pull-request-reviewers }}
branding:
icon: 'git-commit'
color: 'green'