forked from mauromorales/action-merge-upstream-pr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
35 lines (35 loc) · 1.02 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
name: 'Merge Upstream PR'
description: 'Used to keep a downstream repo up to date with upstream changes'
inputs:
destination_repo:
description: 'Destination repository'
required: true
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
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.destination-repo }}
- ${{ inputs.user-email }}
- ${{ inputs.user-name }}
- ${{ inputs.destination-head-branch }}
- ${{ inputs.destination-base-branch }}
- ${{ inputs.pull-request-reviewers }}
branding:
icon: 'git-commit'
color: 'green'