GitHub Action for creating Pull Requests
GitHub Action that will create a pull request from the current branch.
Useful in combination with my other action devopsinfra/action-commit-push.
Dockerized as devopsinfra/action-pull-request.
Features:
- Creates pull request if triggered from a current branch or any specified by
source_branch
to atarget_branch
. - Title and body of a pull request can be specified with
title
andbody
. - Can assign
assignee
,reviewer
, one or morelabel
, amilestone
or mark it as adraft
- Can replace any
old_string
inside a pull request template with anew_string
. - When
get_diff
istrue
will add list of commits in place of<!-- Diff commits -->
and list of modified files in place of<!-- Diff files -->
in a pull request template.