in index.js [27:39]
function slugify(str) {
const slug = str
.toString()
.trim()
.toLowerCase()
.replace(/[_\s]+/g, '-')
.replace(/[^\w-]+/g, '')
.replace(/--+/g, '-')
.replace(/^-+/, '')
.replace(/-+$/, '');
core.debug(`before slugify: "${str}"; after slugify: "${slug}"`);
return slug;
}