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

Remove automerge label after merging #746

Open
gharlan opened this issue Oct 25, 2021 · 2 comments
Open

Remove automerge label after merging #746

gharlan opened this issue Oct 25, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@gharlan
Copy link

gharlan commented Oct 25, 2021

I think it would be great to remove the automerge label after merging (maybe optionally).
This would improve the list of closed pull requests.

@gharlan gharlan added the enhancement New feature or request label Oct 25, 2021
@chdsbd
Copy link
Owner

chdsbd commented Oct 25, 2021

This seems doable.

We can add an extra API call to api.remove_label where we set the "merge complete" status check:

await set_status("merge complete 🎉")

I'm not sure if this needs to be configurable or not. I think it's probably fine if it isn't for now.

As a workaround, you may be able to use a GitHub Action to accomplish this functionality.

Here's an example Action that could probably work: https://github.com/actions-ecosystem/action-remove-labels

@gharlan
Copy link
Author

gharlan commented Oct 29, 2021

As a workaround, you may be able to use a GitHub Action to accomplish this functionality.

Here's an example Action that could probably work: actions-ecosystem/action-remove-labels

Thanks! It works great: redaxo/redaxo#4849

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

No branches or pull requests

2 participants