Skip to content

Lint GitHub Actions files #795

@ewels

Description

@ewels

I noticed the other day that the VSCode YAML linting tool uses JSON schema for specific YAML files if it recognises the file paths. Specifically, it validates GitHub Actions workflow files. This could be a really nice addition!

Here's the JSON Schema file for GitHub Actions: https://json.schemastore.org/github-action

We already have a bunch of code in nf-core/tools for handling JSON Schema, so should hopefully be fairly easy to also validate these files without adding any new dependencies.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions