Introduce release branch (#2391)

Co-authored-by: acx10 <acx10@users.noreply.github.com>
This commit is contained in:
ACX
2026-01-21 23:51:34 -07:00
committed by GitHub
co-authored by acx10
parent 14fa7b058b
commit 4ec1e56cb7
4 changed files with 482 additions and 90 deletions
+2 -1
View File
@@ -32,7 +32,8 @@ jobs:
id: check_migrations
run: |
echo "Comparing ${{ inputs.base_ref }}...${{ inputs.head_ref }}"
if git diff --name-only ${{ inputs.base_ref }}...${{ inputs.head_ref }} | grep -q "booklore-api/src/main/resources/db/migration/V.*.sql"; then
# Use explicit regex: V followed by digits, then double underscore, then any name, ending in .sql
if git diff --name-only ${{ inputs.base_ref }}...${{ inputs.head_ref }} | grep -qE "booklore-api/src/main/resources/db/migration/V[0-9]+__.*\.sql"; then
echo "Migration file changes detected. Proceeding with migration preview."
echo "has_migrations=true" >> $GITHUB_OUTPUT
else