dnogu/Tofu Format

A GitHub Action to run tofu fmt with all supported options.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
working-directoryThe directory in which to run tofu fmt.no.
targetTarget files or directories to format. If not specified, formats current directory.no""
listList files with formatting inconsistencies (--list=true|false).notrue
writeWrite result to source file instead of stdout (--write=true|false).notrue
diffDisplay diff of formatting changes (--diff).nofalse
checkCheck if input is formatted (--check). Exit status non-zero if not formatted.nofalse
recursiveAlso process files in subdirectories (--recursive).nofalse
namedescription
fmt-outputThe output from tofu fmt.
needs-formattingBoolean indicating if any files needed formatting.
formatted-filesList of files that were formatted or need formatting.