question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Label prefix that action doesn't touch

See original GitHub issue

This action is super promising, but this is giving me headaches:

… and will delete any other labels.

We tend to have a prefix for labels like topic/* that is dynamically used by contributors to group and collect related issues. The labels are created ad hoc, and are regularly removed when no labels are connected any more.

It would be awesome if the action could handle such a “wildcard” label and would not delete such labels. (It could, if set in the configuration, update the color though to fix manual mistaked that were made when creating the labels).

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:2
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
lannonbrcommented, May 29, 2021

I added a delete input in 3.0.0 of this action which if set to true will delete any labels not found in the JSON file. This is set to false by default. This resolved the “don’t delete anything mode” portion of this issue so I’m going to close the issue.

2reactions
oalderscommented, Oct 13, 2019

Something like this or even a utility that allows you easily to merge existing labels with your default set of labels before running this for the first time. The one thing that prevents me from just using this all over the place is that I don’t want to clobber any existing labels on my existing repositories.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Taps on TextField prefix/suffix · Issue #39376 · flutter ... - GitHub
I have a simple textfield widget that has an onTap() action. The textfield widget also has a prefix icon which has its own...
Read more >
Labels - GitLab Documentation
Promoting a label is a permanent action and cannot be reversed. Prerequisites: You must have at least the Reporter role for the project....
Read more >
Swiftui list row with multiple buttons? - Apple Developer
Can one get multiple buttons to work when included in a List row? This problem can be seen in the completed version of...
Read more >
Require a Label Prefix for GitHub Issues - Thomas Stringer
To help with this, I've created the Require Label Prefix GitHub Action (GitHub repo). When used in your repo, it looks through all...
Read more >
Labeling - USDA Food Safety and Inspection Service
Identify the product name labeling requirements for raw meat and poultry ... Just because a food product has meat or poultry as a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found