Created a first draft of this action. (#14)
All checks were successful
Auto Maintenance Cycle / pre-commit Autoupdate (push) Successful in 40s
All checks were successful
Auto Maintenance Cycle / pre-commit Autoupdate (push) Successful in 40s
Reviewed-on: #14 Co-authored-by: Philipp Horstenkamp <philipp@horstenkamp.de> Co-committed-by: Philipp Horstenkamp <philipp@horstenkamp.de>
This commit is contained in:
33
action.yml
Normal file
33
action.yml
Normal file
@ -0,0 +1,33 @@
|
||||
name: Create an PR action
|
||||
description: Creates a pull request for a branch if it does not already exist
|
||||
inputs:
|
||||
token:
|
||||
description: Token for authentication. Github Token will not work.
|
||||
required: true
|
||||
branch:
|
||||
description: Branch for which to create the PR
|
||||
required: true
|
||||
base_branch:
|
||||
description: Branch in which should be mergbed. Defaults to main.
|
||||
required: false
|
||||
title:
|
||||
description: Title of the pull request
|
||||
required: true
|
||||
body:
|
||||
description: Body of the pull request
|
||||
required: false
|
||||
default: Some default body!
|
||||
assignees:
|
||||
description: Comma-separated list of assignees for the pull request
|
||||
required: false
|
||||
default: ''
|
||||
reviewers:
|
||||
description: Comma-separated list of reviewers for the pull request
|
||||
required: false
|
||||
default: ''
|
||||
outputs:
|
||||
pull_request_url:
|
||||
description: URL of the created pull request
|
||||
runs:
|
||||
using: node12
|
||||
main: index.js
|
Reference in New Issue
Block a user