Skip to content

Latest commit

 

History

History
49 lines (30 loc) · 1.71 KB

README.md

File metadata and controls

49 lines (30 loc) · 1.71 KB

Repository Header Image


Sprocket GitHub Action

This action uses Sprocket to validate and optionally lint WDL documents.

Inputs

lint

Optional Whether to run linting in addition to validation. Boolean, valid choices: ["true", "false"]

exclude-patterns

Optional Comma separated list of patterns to exclude when searching for WDL files.

deny-warnings

Optional If specified, Sprocket check will fail if any warnings are produced.

deny-notes

Optional If specified, Sprocket check will fail if any notes are produced.

except

Optional If specified and lint==true, then the listed rules will be excepted from all sprocket lint checks. Multiple rules can be specified as a comma-separated list, e.g. CallInputSpacing,CommandSectionMixedIndentation. Valid options can be found at: https://docs.rs/wdl/latest/wdl/lint/index.html#lint-rules.

Example usage

uses: stjude-rust-labs/sprocket-action@main
with:
    lint: true
    exclude-patterns: template,test

License and Legal

This project is licensed as either Apache 2.0 or MIT at your discretion. Additionally, please see the disclaimer that applies to all crates and command line tools made available by St. Jude Rust Labs.

Copyright © 2024-Present St. Jude Children's Research Hospital.