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

Make label name in label workflow configurable #480

Open
dcastil opened this issue Oct 5, 2024 · 1 comment
Open

Make label name in label workflow configurable #480

dcastil opened this issue Oct 5, 2024 · 1 comment
Labels
context-v2 Related to tailwind-merge v2 feature Is new feature good first issue Good for newcomers

Comments

@dcastil
Copy link
Owner

dcastil commented Oct 5, 2024

Background

This repository has a GitHub Action workflow https://github.com/dcastil/tailwind-merge/blob/v2.5.3/.github/workflows/label.yml (original issue) which adds the label context-v2 to issues, PRs and discussions. I use this label to categorize issues, etc. into major versions of tailwind-merge so that I know how up to date the data in them is.

In the coming months Tailwind CSS will release the new major version v4 which will probably cause a new major version for tailwind-merge as well, leading to a new label context-v3 that will be added to all new issues, PRs and discussions.

What needs to be done

I'd like to update the label.yml GitHub Action workflow so that the label name is configurable in a single place (e.g. as jobs.env.LABEL_NAME of the workflow). The label name should not be updated, I just want to prepare things to make the update simpler once I have to release a new major version of tailwind-merge.

If anyone wants to pick it up, I'm accepting PRs for this and also happy to help if needed. 😊

@github-actions github-actions bot added the context-v2 Related to tailwind-merge v2 label Oct 5, 2024
@dcastil
Copy link
Owner Author

dcastil commented Oct 5, 2024

@Pritam1211 since you built the original workflow, I also want to notify you about this in case you'd like to add this.

@dcastil dcastil added feature Is new feature and removed feature request labels Oct 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
context-v2 Related to tailwind-merge v2 feature Is new feature good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant