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

subcommand to validate dependabot.yml file #59

Open
jlosito opened this issue Feb 3, 2023 · 3 comments
Open

subcommand to validate dependabot.yml file #59

jlosito opened this issue Feb 3, 2023 · 3 comments

Comments

@jlosito
Copy link

jlosito commented Feb 3, 2023

There used to be a way in order to check syntax of a dependabot config file. Would it be possible to add that functionality apart of this tool? If so, would it be possible to address the concerns brought up in the issue below under this cli tool and even possibly moving that issue under this repository?

From my use perspective, it would be awesome if I could run a dependabot lint -f /path/to/dependabot.yml.

@jeffwidman
Copy link
Member

Interesting idea, but we'd probably need this first:

There is some additional dynamic validation we do that can't be expressed in a JSON Schema, but it'd at least be a step in the right direction.

Although if we publish a JSON Schema, there's plenty of existing tooling available for using that to lint, so we'd only want to add it to CLI here if we were sure the ongoing maintenance would be minimal.

@jeffwidman
Copy link
Member

To clarify, @jlosito you're requesting syntax validation here, not linting, right? They're not quite the same thing.

@jlosito
Copy link
Author

jlosito commented Mar 22, 2023

Correct. Sorry for the confusion.

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

2 participants