-
Notifications
You must be signed in to change notification settings - Fork 8
/
action.yml
51 lines (51 loc) · 1.52 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
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
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
head_branch:
description: 'Branch of the current changes'
required: true
destination_head_branch:
description: 'The branch to create to push the changes. Cannot be master or main'
required: 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
pull_request_number:
description: 'Pull request number'
required: true
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.source-folder }}
- ${{ inputs.destination-repo }}
- ${{ inputs.destination-folder }}
- ${{ inputs.user-email }}
- ${{ inputs.user-name }}
- ${{ inputs.head-branch}}
- ${{ inputs.destination-head-branch }}
- ${{ inputs.destination-base-branch }}
- ${{ inputs.pull-request-reviewers }}
- ${{ inputs.pull-request-number }}
branding:
icon: 'git-commit'
color: 'green'