ci: Fix regex for all tag when bolded
This commit is contained in:
parent
b5ae870087
commit
8f3b60cd9c
2
.github/workflows/scripts/test-tag-parser.js
vendored
2
.github/workflows/scripts/test-tag-parser.js
vendored
|
|
@ -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") {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user