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

chore(ci): define github labels as code #731

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

qdm12
Copy link
Collaborator

@qdm12 qdm12 commented Jan 3, 2025

Why this should be merged

Allow to track in source control the Github labels, and to easily migrate Github labels (i.e. renames).

How this works

New Github workflow .github/workflows/labels.yml using github/labels.yml as a source for the labels. All the label data was extracted from this API call to keep it the exact same.

Removed useless labels according to Darioush 😉

How this was tested

Dry run of labeler job on this PR

Need to be documented?

No

Need to update RELEASES.md?

No

@qdm12 qdm12 marked this pull request as ready for review January 3, 2025 18:31
@qdm12 qdm12 requested review from ceyonur, darioush and a team as code owners January 3, 2025 18:31
@qdm12 qdm12 force-pushed the qdm12/ci/github-labels branch from 615a118 to 51fd319 Compare January 3, 2025 18:31
darioush
darioush previously approved these changes Jan 3, 2025
.github/labels.yml Outdated Show resolved Hide resolved
.github/labels.yml Outdated Show resolved Hide resolved
.github/labels.yml Outdated Show resolved Hide resolved
.github/labels.yml Outdated Show resolved Hide resolved
.github/labels.yml Outdated Show resolved Hide resolved
.github/labels.yml Outdated Show resolved Hide resolved
.github/labels.yml Outdated Show resolved Hide resolved
.github/labels.yml Outdated Show resolved Hide resolved
@qdm12 qdm12 requested a review from darioush January 7, 2025 10:35
@qdm12 qdm12 force-pushed the qdm12/ci/github-labels branch from 188ec04 to d949aa3 Compare January 7, 2025 13:35
@qdm12 qdm12 enabled auto-merge (squash) January 7, 2025 13:36
@qdm12 qdm12 force-pushed the qdm12/ci/github-labels branch from d949aa3 to de8b544 Compare January 7, 2025 19:35
@qdm12 qdm12 force-pushed the qdm12/ci/github-labels branch from de8b544 to fc9d106 Compare January 8, 2025 08:37
Comment on lines +1 to +6
- name: "after coreth x subnet-evm"
color: "98E19D"
description: "To be done after merging the coreth and subnet-evm codebases"
- name: "after libevm"
color: "98E19D"
description: "To be done only after using libevm for good"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[no action required] these labels share the same color

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indeed but:

  1. already the case, we may change in a subsequent PR modifying this file
  2. grouping similar labels (after xyz) with the same color is useful in my opinion 😉 Especially finding a distinguishable color for each label is rather difficult as soon as you have around 10 labels 😓

@qdm12 qdm12 force-pushed the qdm12/ci/github-labels branch 3 times, most recently from 7c4a759 to cfc3742 Compare January 10, 2025 09:37
@qdm12 qdm12 force-pushed the qdm12/ci/github-labels branch from cfc3742 to b95e6cf Compare January 10, 2025 09:38
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

Successfully merging this pull request may close these issues.

3 participants