ci: Fix regex for all tag when bolded

This commit is contained in:
Shrikant Sharat Kandula 2024-05-27 17:34:51 +05:30 committed by GitHub
parent b5ae870087
commit 8f3b60cd9c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -9,7 +9,7 @@ function parseTags({core, context}) {
// "/test" matcher.
const allTags = require(process.env.GITHUB_WORKSPACE + "/app/client/cypress/tags.js").Tag;
const config = body.match(/^\**\/test\s+(.*)\**$/m)?.[1] ?? "";
const config = body.match(/^\**\/test\s+(.+?)\**$/m)?.[1] ?? "";
const concreteTags = [];
if (config.toLowerCase() === "all") {