jonathandung/Check Empty Files
Check that specified files are empty
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| clear | Whether to make a pull request with each specified file cleared of content instead of failing the action in the case that some files are populated; the action will still fail if may-not-exist is true and at least one file is absent or an error propagates when operating on any file. | — | <default> |
| filenames | A newline-separated list of paths to files or directories to check for emptiness. For directories, "emptiness" means that all files given by a recursive traversal are empty, not that there are no files in the directory. | yes | — |
| may-not-exist | Whether to allow the workflow to continue if any file is absent | — | <default> |
| python-version | The version of Python to use; can pass in the version in use in the matrix or similar such that Python needs not be set up again if already present in the runner environment; defaults to reading .python-version. | — | — |
| verbosity | The level of verbosity of the output | — | 2 |
Outputs
no outputs