freenet-actions/check-file-size

This action checks all files in a configurable directory (recursively) for a configurable maximum file size. It also allows to automatically add a comment to the triggering PR that lists all oversized files.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
github_tokenThe GitHub token that will be used to create the comment if files exceeded the maximum file sizeno
directoryThe directory that will be recursively checked for oversized filesno./
max_sizeThe maximum allowed file size in kilobytesno16000
post_commentWhether the action should post a comment to the PR which lists the oversized filesnotrue
fail_on_findWhether the action should fail if files exceeding the maximum file size were foundnofalse
ignored_filesA string array of files or directories that should not be checkedno""
namedescription
has_found_oversized_filesA boolean that indicates whether oversized files have been found
oversized_filesA string array of the files that exceeded the maximum file size