-
-
Notifications
You must be signed in to change notification settings - Fork 777
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
Create JSON file and related functionality to support replacement of hard-coded issue labels #5205
Comments
This comment has been minimized.
This comment has been minimized.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment has been minimized.
This comment has been minimized.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
@t-will-gillis we actually have a spreadsheet and a script that has all the lables and pulls new ones in. We just need to add to it the variable information. Its current use is for supporting the dashboard. |
I guess the point I am making is we need one source of truth. |
@ExperimentsInHonesty I will add this to the Monday meeting schedule. Where is the spreadsheet and script? Is it this one? For what it is worth, this is how I was thinking about it (apologies for talking through it- helps me to understand): We know that:
So far so good. Next, my thought was what happens when we want to change a label, for example if the final label is going to be
What I am thinking:
|
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as outdated.
This comment was marked as outdated.
|
This comment was marked as outdated.
This comment was marked as outdated.
Progress:
|
Overview
Action Items
Key
for each label, written in camelCase: e.g. key for "Time Sensitive" would be "timeSensititve", etc.Value
should be an array of the ["label id", "label display name"]github-actions/utils/_data/label-directory.json
To be useful and meet the requirements that initiated this issue, the JSON cannot be static. Whenever a label is updated with a new name or when a new label is added to the repo, the change must propagate dynamically and update the JSON file (i.e. JSON needs CRUD.)
on: label: types: [edited, created, deleted]
with an associated JS file to update and/or add to the "label directory"Merge Team:
Resources/Instructions
The text was updated successfully, but these errors were encountered: