norwd/fmtya

GitHub Action to run yamlfmt

View on GitHub

Trust Signals

Scorecard Score
Scorecard 4–6scored Jul 6, 2026
Maintenance Recency
Activelast commit May 13, 2026
License
None

Pinned Snippet

workflow.ymlSHA-pinned
uses: norwd/fmtya@11c4eb4d55f8a465564cbef9aabb3e149d4a6247 # v1.1.9

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
tokenUsed to authenticate with GitHub, this should be a PAT with `repo: write` and `workflow: write` permissions.
yamlfmt-versionThe specifc version of the yamlfmt tool to use, defaults to the latest vailable version.latest
commit-messageThe message used to commit any changes made by yamlfmt.Auto yamlfmt
commit-user-nameWho the commit should be attributed to, defaults to the GitHub Actions bot.github-actions[bot]
commit-user-emailWho the commit should be attributed to, defaults to the GitHub Actions bot.41898282+github-actions[bot]@users.noreply.github.com
signing-private-keyA GPG private key to sign the commit with. This must be exported as an ASCII armored version or its base64 encoding.
signing-passphraseThe password or passphrase for the signing key, if one was used.
signoff-on-commitCertify the commit, this will use the provided username and email. Must be one of 'true', 'false', 'yes', or 'no'. See https://developercertificate.orgfalse
include-filesWhich files or file patterns to include in the formatter, one pattern per line. Defaults to all yaml files. The glob paths are implemented using the bmatcuk/doublestar package.**/*.{yaml,yml}
exclude-filesWhich files or file patterns to exclude from the formatter, one pattern per line. Glob paths follow the same format as `include-files`.
indent-sizeHow big to make each indent level.2
include-document-startWhether yaml files should begin with `---` at the start.true
line-ending-typeDetermines the type of newline characters to use, must be either `lf` or `crlf`.lf
keep-line-breaksKeep existing line breaks in formatted yaml.true
disallow-anchorsWhether to reject any YAML anchors or aliases found in the document.false

no outputs