marcopaganini/check-trailing-spaces

Check files for trailing spaces, empty lines at EOF and missing newline at EOF.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
check_all_filesCheck all files, not only those changed by the PR.no0
check_empty_line_at_eofMake sure the last line in a file is not empty.no1
check_missing_newline_at_eofMake sure the last line in the file ends in a newline character.no1
ignore_regexIgnore files matching this regular expression (full path, see man find, -regex).no""
source_directoryDirectory to check (overrides current directory).no.
pr_numberThe PR number to check.no${{ github.event.pull_request.number }}
tokenGitHub token used to authenticate API requests. Defaults to the built-in GITHUB_TOKEN.no${{ github.token }}
changed_filesA newline-separated list of files to check. When provided, skips the GitHub API call entirely. Useful for private repositories or when you already have the list of changed files. no""

no outputs