Skip to content

subcommand to validate dependabot.yml file #59

Description

@jlosito

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.

Activity

  1. jeffwidman commented on Feb 6, 2023

    @jeffwidman
    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.

  2. jeffwidman commented on Mar 22, 2023

    @jeffwidman
    Member

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

  3. jlosito commented on Mar 22, 2023

    @jlosito
    Author

    Correct. Sorry for the confusion.

  4. changed the title [-]lint subcommand[/-] [+]subcommand to validate `dependabot.yml` file[/+] on Mar 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions