hakadoriya-actions/hakadoriya-actions-final-newline-checker

A workflow to check missing final newline.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Maintainedlast commit Aug 23, 2025
License
Apache 2.0

Pinned Snippet

workflow.ymlSHA-pinned
uses: hakadoriya-actions/final-newline-checker@d61736f98682cea149945c19fe05cc26b571ba91 # v0.0.3

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

namedescriptionrequireddefault
pathsA list of substrings of file paths to include written in regular expressions (like on.push.paths)no""
paths-ignoreA list of substrings of file paths to ignore written in regular expressions (like on.push.paths-ignore)no""
skip-checkoutIf true, skip the checkout stepnofalse
skip-commentIf true, skip posting a comment to the pull requestnofalse
fail-on-missingFail on missing final newlinenotrue
debugDebug modenofalse
beforeThe commit SHA before the push (push trigger only)no${{ github.event.before }}
afterThe commit SHA after the push (push trigger only)no${{ github.event.after }}
base-refThe base branch of the repository (pull_request trigger only)no${{ github.event.pull_request.base.sha }}
head-refThe head branch of the pull request (pull_request trigger only)no${{ github.event.pull_request.head.sha }}
namedescription
missingIf no missing final newline files, this value is 'true'. Otherwise, this value is 'false'.
missing-filesMissing final newline files