forked from bobvanderlinden/combine-pull-requests
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
31 lines (30 loc) · 857 Bytes
/
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
name: 'Combine Pull Requests'
description: 'Combine multiple labelled pull requests by merging them on top of the current branch'
branding:
icon: git-merge
color: purple
inputs:
label:
description: 'The label to look for pull requests'
required: false
default: 'experiment'
author-name:
description: 'The author name of the merge commit'
required: false
default: 'nobody'
author-email:
description: 'The author email of the merge commit'
required: false
default: 'nobody@nobody'
repo-token:
description: 'The GitHub token'
required: true
default: 'experiment'
runs:
using: 'docker'
image: 'Dockerfile'
env:
PULL_REQUEST_LABEL: ${{ inputs.label }}
GITHUB_TOKEN: ${{ inputs.repo-token }}
GIT_AUTHOR_NAME: ${{ inputs.author-name }}
GIT_AUTHOR_EMAIL: ${{ inputs.author-email }}