mirror of
https://github.com/actions/checkout.git
synced 2025-04-23 00:16:35 +02:00
Add link to doc for creating and using encyrpted secrets (#123)
This commit is contained in:
parent
dfd70d4a2d
commit
bc50a995b8
3 changed files with 10 additions and 3 deletions
|
@ -65,9 +65,14 @@ function updateUsage(
|
|||
let segment: string = description
|
||||
if (description.length > width) {
|
||||
segment = description.substr(0, width + 1)
|
||||
while (!segment.endsWith(' ')) {
|
||||
while (!segment.endsWith(' ') && segment) {
|
||||
segment = segment.substr(0, segment.length - 1)
|
||||
}
|
||||
|
||||
// Trimmed too much?
|
||||
if (segment.length < width * 0.67) {
|
||||
segment = description
|
||||
}
|
||||
} else {
|
||||
segment = description
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue