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

process and workflow name could automatically be a tag #178

Closed
adamrtalbot opened this issue Jan 19, 2024 · 5 comments
Closed

process and workflow name could automatically be a tag #178

adamrtalbot opened this issue Jan 19, 2024 · 5 comments

Comments

@adamrtalbot
Copy link

We could add the process or workflow name as a default tag. E.g.

process "MYPROCESS"

is equivalent to:

process "MYPROCESS"
tag "MYPROCESS"

This would mean you could use tags with process or workflow names as a filtering mechanism.

@adamrtalbot
Copy link
Author

Not 100% sure on this one, it might cause issues for some nf-test deployments but I think it has more positives than negatives. Perhaps it could be disabled via an option.

@lukfor
Copy link
Collaborator

lukfor commented Jan 21, 2024

Good idea! Thanks ✌️

@drpatelh
Copy link

We are reworking the CI/CD in nf-core/fetchngs right now and this would be awesome as a feature so we can remove all module level tags in nf-core/modules!

Would this be a quick fix @lukfor ? If so, any sort of timeline we can have this in a release? Just means it saves updating tags across 1000 modules more than once.

@lukfor
Copy link
Collaborator

lukfor commented Jan 26, 2024

This should do the magic: b954fa0 I will test it over the weekend. If it looks good I will prepare a release 👍

@drpatelh
Copy link

Bloody gorgeous!! 😍

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

3 participants