Skip to content

Commit b1a6113

Browse files
Update generate-schema.yml
1 parent 515cbeb commit b1a6113

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/generate-schema.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ jobs:
2525
- name: Check Branch with Regex
2626
id: check-tag
2727
run: |
28-
if [[ "${{ github.ref }}" =~ ^refs/heads/brapi-V[0-9]+\.[0-9]+$ ]]; then
28+
regex="^refs/heads/brapi-V[0-9]+\.[0-9]+$"
29+
if [[ "${{ github.ref }}" =~ $regex ]]; then
2930
echo "commit=true" >> $GITHUB_ENV
3031
else
3132
echo "commit=false" >> $GITHUB_ENV

0 commit comments

Comments
 (0)