Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Define PR/MR label behavior #176

Open
mhutter opened this issue Jun 2, 2020 · 0 comments
Open

Define PR/MR label behavior #176

mhutter opened this issue Jun 2, 2020 · 0 comments

Comments

@mhutter
Copy link
Contributor

mhutter commented Jun 2, 2020

One thing that caught my eye during #175

  • The GitLab implementation will ensure the configured labels are added to the PR when the PR is created, but will NOT add any labels if there is already an open PR around.
  • The GitHub implementation will always update the existing PR - and fail horribly from looking at the code (note this was already broken before the PR)

How should the behavior be?

  1. Only ensure the label is set when creating the MR/PR and be done with it
  2. Ensure the specified labels are set even if an MR/PR is already present

I can send a PR for the actual changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant