fix: use the truncated short description (#148)
Some checks failed
Publish Docker Image / publish (push) Has been cancelled

This commit is contained in:
Peter Evans
2023-04-10 08:18:10 +09:00
committed by GitHub
parent 3f29bdade4
commit 579f64ca0a
2 changed files with 4 additions and 2 deletions

View File

@@ -33,6 +33,7 @@ async function run(): Promise<void> {
`The short description exceeds DockerHub's limit and has been truncated to ${SHORT_DESCRIPTION_MAX_BYTES} bytes.`
)
}
core.debug(`Truncated short description: ${truncatedShortDescription}`)
// Acquire a token for the Docker Hub API
core.info('Acquiring token')
@@ -45,7 +46,7 @@ async function run(): Promise<void> {
await dockerhubHelper.updateRepositoryDescription(
token,
inputs.repository,
inputs.shortDescription,
truncatedShortDescription,
readmeContent
)
core.info('Request successful')