create-pull-request/action.yml

51 lines
1.7 KiB
YAML
Raw Normal View History

2019-10-02 12:20:07 +02:00
name: 'Create Pull Request'
description: 'Creates a pull request for changes to your repository in the actions workspace'
2019-11-09 09:24:47 +01:00
inputs:
token:
2020-01-09 16:11:39 +01:00
description: 'GITHUB_TOKEN or a repo scoped PAT'
2019-11-09 09:24:47 +01:00
required: true
2020-01-09 16:11:39 +01:00
path:
description: 'Relative path under $GITHUB_WORKSPACE to the repository.'
2019-11-09 09:24:47 +01:00
commit-message:
description: 'The message to use when committing changes.'
2019-12-27 06:40:08 +01:00
committer:
description: 'The committer name and email address.'
author:
description: 'The author name and email address.'
2019-11-09 09:24:47 +01:00
title:
description: 'The title of the pull request.'
body:
description: 'The body of the pull request.'
labels:
description: 'A comma separated list of labels.'
assignees:
description: 'A comma separated list of assignees (GitHub usernames).'
reviewers:
description: 'A comma separated list of reviewers (GitHub usernames) to request a review from.'
team-reviewers:
description: 'A comma separated list of GitHub teams to request a review from.'
milestone:
description: 'The number of the milestone to associate this pull request with.'
project:
2019-11-24 01:00:31 +01:00
description: 'The name of the project for which a card should be created.'
project-column:
2019-11-24 01:00:31 +01:00
description: 'The name of the project column under which a card should be created.'
2019-11-09 09:24:47 +01:00
branch:
description: 'The pull request branch name.'
2020-03-27 18:56:55 +01:00
request-to-parent:
description: 'Whether or not the pull request should be create on the parent repository.'
default: false
2019-11-09 09:24:47 +01:00
base:
2019-12-27 06:40:08 +01:00
description: 'The pull request base branch.'
2019-11-09 09:24:47 +01:00
branch-suffix:
description: 'The branch suffix type.'
2019-11-10 05:07:11 +01:00
outputs:
pr_number:
description: 'The pull request number'
2019-10-02 12:20:07 +02:00
runs:
2019-11-09 09:24:47 +01:00
using: 'node12'
main: 'dist/index.js'
2019-10-02 12:20:07 +02:00
branding:
2020-03-27 18:56:55 +01:00
icon: 'git-pull-request'
2019-10-02 12:20:07 +02:00
color: 'gray-dark'