Skip to content

Commit 946e8be

Browse files
authored
chore(ci): fix feature exact match (#1712)
1 parent e8cadfb commit 946e8be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/fixture_feature_release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
run: |
2323
FEATURE_PREFIX="${GITHUB_REF_NAME//@*/}"
2424
FEATURE_NAME="${FEATURE_PREFIX#tests-}"
25-
names=$(grep -Po "^${FEATURE_NAME}[^:]*" .github/configs/feature.yaml | jq --raw-input . | jq -c --slurp .)
25+
names=$(grep -Po "^${FEATURE_NAME}(?=:)" .github/configs/feature.yaml | jq --raw-input . | jq -c --slurp .)
2626
echo names=${names}
2727
echo names=${names} >> "$GITHUB_OUTPUT"
2828

0 commit comments

Comments
 (0)