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

Add option to remove all issues that don't exist in the template repository #10

Open
gr2m opened this issue Jun 29, 2022 · 2 comments
Open

Comments

@gr2m
Copy link
Contributor

gr2m commented Jun 29, 2022

What’s missing?

In order to test our action, we ask folks to create test a test repository, to not interfere with others. Labels are significant so this @octoherd script is golden and saves a lot of time <3 In our particular case, we would like to remove all the default labels though

Why?

Because we don't want the default labels in the action test repositories

Alternatives you tried

Not yet tried, but I could imagine to

  1. Create a new script called octoherd-script-replace-labels
  2. Create a new script called octoherd-script-remove-labels and ask folks to run that one before yours

So if you think a remove option is out of scope here, I'd be happy to create a new script, and we can interlink them

@bdougie
Copy link
Owner

bdougie commented Jun 29, 2022

Honestly, I think removing the default and existing labels meets my expectation since we are copying all labels from the flagship or original repo and don't have a need for the defaults. I deleted most of them manually before creating this script, which is why I didn't think of this use case.

Happy to take the contribution to delete defaults or all labels before copying labels. Perhaps that should be an option flag though. Also happy to update the guide in the readme to include this update.

Let me know if you want to take this on.

@gr2m
Copy link
Contributor Author

gr2m commented Jun 30, 2022

cool, I put it on my list of things™️. If anyone wants to beat me to it, please be my guest

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

2 participants