Skip to content

Suggestion for a feature to open PRs without creating a branch #748

@uyeonyx

Description

@uyeonyx

Hi @robvanderleek,

I know from the last bug issue that you don't mind receiving enhancement feedback, so this time I'm going to make a simple enhancement suggestion.

Currently, the possible scenario is as follows
Create issue -> label and assign -> create branch -> create pull request for created branch and target branch.

This is great for most situations, but consider the following scenario

Create issue -> Label and assign -> Create pull requests for two specified branches

In other words, can you use it to merge two specific branches (as set in the YAML) at the time the issue is opened without creating any branches?

For example

- label: 'release'
    name: develop
    prTarget: release
    noBranch: true

This takes the form of specifying noBranch to only open the PR without creating a separate branch, so that we can simply merge it into the develop branch -> release branch.

This would be useful for when we just want to merge our development into a release, assuming you follow a typical git flow.

I know this can be done by just opening a pull request, but it would be nice to be able to do it in an issue-driven workflow.

image

That is, it will be especially useful at the red boxed point in this image.

Alternatively, if this is possible in the current specification, please let me know how to do it (besides writing a separate action workflow).

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions