actions-marketplace-validations/Disk space
GitHub action checks available disk space on remote host.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
- Runtime
- Deprecated runtime
Inputs
| name | description | required | default |
|---|---|---|---|
| threshold | Minimum amount free disk space in megabytes for the action to succeed (for example, 1024, meaning 1 gigabyte at least). | yes | — |
| host | Host to check free disk space on (for example, 200.100.100.50). | yes | — |
| user | User name on the remote host (for example, ec2-user). | yes | — |
| ssh | 'ssh' command to connect to the remote host. | — | ssh |
| cmd | Command to run on the remote host to print free disk space. | — | df -BM --output=avail /dev/xvda1 |
| pattern | Regular expression to find the free disk space number in the output of the 'cmd' command. | — | [0-9]+ |
Outputs
no outputs