Skip to content

feat: implement logic for adding labels and assignees via the cli flags that exist today #10

@GrantBirki

Description

@GrantBirki

Add Labels + Assignees Logic

Today, the following CLI params are stubbed out:

gh combine owner/repo --add-labels security,dependencies   # Add these labels to the new PR
gh combine owner/repo --add-assignees octocat,hubot        # Assign users to the new PR

However, they do not actually do anything as the logic behind them needs to be implemented.

This issue tracks work to do the following:

  • Implement logic for the --add-labels flag which adds one (or multiple) labels to the resulting "combined-pr" that gets generated by this CLI
  • Implement logic for the --add-assignees flag which adds one (or multiple) GitHub users as assignees to the resulting "combined-pr" that gets generated by this CLI
  • Add unit tests to support these new features

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions