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

Identify each check with a unique id? #340

Closed
AlexandreDecan opened this issue Aug 15, 2023 · 2 comments
Closed

Identify each check with a unique id? #340

AlexandreDecan opened this issue Aug 15, 2023 · 2 comments

Comments

@AlexandreDecan
Copy link

Hello,

Thanks for this nice tool! We would like to conduct some study on the common mistakes that are made in workflow files, and we plan to rely on actionlint to do so. However, the tool outputs a list of "error/warning messages" that we need to parse to map them to the various checks provided by the tool. Not only this parsing is not convenient, but is likely to be error prone if the messages change over time. Is there any way to identify each check with a unique identifier? (e.g., "unexpected key" could be id 1, "missing key" id 2, "duplicated key" id 3, and so on) By doing so, it makes it easier to collect metrics and, for example, to ignore some specific checks if needed (so it's not only useful for us, as researchers wanting to analyse workflow files, but also for users and tool integrators ;-))

Thanks for your feedback!

@AlexandreDecan
Copy link
Author

I'm closing this since I found it's a duplicate, see #75

@AlexandreDecan
Copy link
Author

And related to this, as a "workaround" for not having unique IDs: #311

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

1 participant