knockaway/Upsert PR Action

Creates or updates a PR, where both actions are independently configurable.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
github_tokenToken to be used in the GitHub API calls.yes
pr_source_branchThe branch to use as the "from" / "head" side of the PR.yes
pr_destination_branchThe branch to use as the "to" / "base" side of the PR.yes
create_pr_titleThe title to use if creating a PR.yes
update_pr_titleThe title to use if updating a PR.no
create_pr_bodyThe description to use if creating a PR.no
update_pr_bodyThe description to use if updating a PR.no
create_pr_reviewersComma separated list of GitHub usernames to be added as reviewers if creating a PR.no
update_pr_reviewersComma separated list of GitHub usernames to be added as reviewers if updating a PR.no
update_pr_rerequest_reviewersComma separated list of GitHub usernames to request reviews from, even if they have already reviewed the PR.no
create_pr_draftWhether or not to create a draft PR, if creating a PR.no
create_pr_template_fileIf create_pr_body is not provided, create_pr_template_file can specify a template for new PRs.no.github/pull_request_template.md
create_pr_body_template_varsJSON containing key/values to replace <!-- --> markdown comment template variables, if creating a PR.no
update_pr_body_template_varsJSON containing key/values to replace <!-- --> markdown comment template variables, if updating a PR.no
namedescription
pr_created"true" or "false" to indicate a PR was created or already existed.
pr_urlURL of the PR, whether it was created or updated.
pr_numberThe PR number of the created/updated PR.