actions-marketplace-validations/Read More Truncate Action
Truncates text by line count or character count and optionally adds a 'read more' line at the end
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
- Runtime
- Deprecated runtime
Inputs
| name | description | required | default |
|---|---|---|---|
| text | Text to truncate | yes | — |
| max_lines | Maximum number of lines to keep | no | — |
| max_chars | Maximum number of characters to keep | no | — |
| read_more | Read More line to append to bottom of the output | no | — |
Outputs
| name | description |
|---|---|
| text | Truncated text |