Skip to content

Exclude paths #4

@fletchgqc

Description

@fletchgqc

Hi, I need this! Currently I do it by hand like this:

for file in src/main/resources/*.yml do yq eval -i 'sortKeys(..)' "$file" done

But the time has come to automate this. However, I don't want to sort my .gitlab-ci.yml file, that would get rather confusing. Is there a way to exclude files or paths?

BTW maybe you should list it here https://pre-commit.com/hooks.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions