Skip to content

Commit f4bec80

Browse files
authored
Tighten release tag filter in galexie workflow (#75)
The previous `galexie-v*` glob matched any string starting with the prefix, including tags containing shell metacharacters that could be re-evaluated when downstream tooling expands `RELEASE_VERSION` into a shell command. Constrain the filter to well-formed semver tags (`galexie-vX.Y.Z` and `galexie-vX.Y.Z-rcN`) so non-conforming tags never trigger a release build.
1 parent e6f943b commit f4bec80

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/galexie.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@ on:
55
branches:
66
- main
77
- 'release/**'
8-
tags: ['galexie-v*']
8+
tags:
9+
- 'galexie-v[0-9]+.[0-9]+.[0-9]+'
10+
- 'galexie-v[0-9]+.[0-9]+.[0-9]+-rc[0-9]+'
911
pull_request:
1012

1113
jobs:

0 commit comments

Comments
 (0)