Addad an action.yml
Some checks failed
Auto Maintenance Cycle / pre-commit Autoupdate (push) Failing after 16s

This commit is contained in:
Philipp Horstenkamp 2023-11-19 01:34:40 +01:00
parent cf5e817ab3
commit 7a218a7fc3
Signed by: Philipp
GPG Key ID: DD53EAC36AFB61B4

29
action.yml Normal file
View File

@ -0,0 +1,29 @@
name: Create PR if not exists
description: Creates a pull request for a branch if it does not already exist
inputs:
github_token:
description: GitHub token for authentication
required: true
branch:
description: Branch for which to create the PR
required: true
pr_title:
description: Title of the pull request
required: true
pr_body:
description: Body of the pull request
required: true
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