Releases: devops-infra/action-pull-request
Releases · devops-infra/action-pull-request
v0.2 - Fixed ambiguous argument error
Fixed crashing and causing issues when source branch has master
(old school) or main
(new repos) in its name.
It was causing errors like fatal: ambiguous argument master..test-master-name
: unknown revision or path not in the working tree.
v0.1 - First release
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.