Skip to content
This repository has been archived by the owner. It is now read-only.
Browse files
chore: Update dist
  • Loading branch information
GitHub Actions committed Jun 29, 2020
1 parent f04843b commit ae509cd90aa18b678409c5e1004210a7e95738d9
Showing 1 changed file with 1 addition and 1 deletion.
@@ -215,7 +215,7 @@ function sanitizeGithubWorkflowName(name) {
// Workflow names can be almost any valid UTF-8 string, but tags are more restrictive.
// This replaces anything not conforming to the tag restrictions by inverting the regular expression.
// See the AWS documentation for constraint specifics
const nameWithoutSpecialCharacters = name.replace(/[^\p{L}\p{Z}\p{N}_.:/=+-@]/gu, SANITIZATION_CHARACTER);
const nameWithoutSpecialCharacters = name.replace(/[^\p{L}\p{Z}\p{N}_:/=+.-@-]/gu, SANITIZATION_CHARACTER);
const nameTruncated = nameWithoutSpecialCharacters.slice(0, MAX_TAG_VALUE_LENGTH)
return nameTruncated

0 comments on commit ae509cd

Please sign in to comment.