Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .github/workflows/rollback.yml
Original file line number Diff line number Diff line change
Expand Up @@ -171,9 +171,13 @@ jobs:
# Start from main HEAD (not from the tag)
git checkout -b ${PR_BRANCH} main

# Replace all tracked files with the content from the rollback tag
# Replace application files with the content from the rollback tag,
# excluding infrastructure/docs paths (aligned with deploy paths-ignore)
git checkout ${ROLLBACK_TAG} -- .

# Restore paths that should NOT be rolled back (same as deploy paths-ignore)
git checkout main -- .github/ docs/ tests/ README.md CHANGELOG.md LICENSE docker-compose.local.yaml '*.md' 2>/dev/null || true

# Check if there are actual differences
if git diff --cached --quiet && git diff --quiet; then
echo "WARNING: No differences between main and ${ROLLBACK_TAG}. Nothing to rollback."
Expand Down