Skip to content

ci: Supabase 마이그레이션 무료 검증 추가 - #14

Merged
AndyH0ng merged 1 commit into
mainfrom
ci/supabase-migration-check
Sep 3, 2026
Merged

ci: Supabase 마이그레이션 무료 검증 추가#14
AndyH0ng merged 1 commit into
mainfrom
ci/supabase-migration-check

Conversation

@AndyH0ng

@AndyH0ng AndyH0ng commented Sep 3, 2026

Copy link
Copy Markdown
Member

요약

  • Pro 전용 Supabase Preview Branch 대신 GitHub Actions에서 무료로 마이그레이션을 검증합니다.
  • 깨끗한 로컬 Supabase DB에 전체 마이그레이션을 순서대로 적용합니다.
  • 저장소와 동일한 Supabase CLI 2.114.0을 사용합니다.
  • supabase/** 변경 또는 워크플로 변경 시 실행됩니다.

배경

기존 Supabase Preview 체크는 오류가 아니라 PR별 Preview Branch 생성이 비활성화되어 skipped 처리되고 있었습니다.

Summary by CodeRabbit

  • 자동화
    • main 대상 Supabase 관련 풀 리퀘스트와 수동 실행 시 마이그레이션 검증 워크플로를 추가했습니다.
    • Supabase CLI를 사용해 로컬 데이터베이스를 시작하고 마이그레이션을 확인합니다.

@coderabbitai

coderabbitai Bot commented Sep 3, 2026

Copy link
Copy Markdown

Review Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Team

Run ID: 7163908c-6af9-4aef-bddf-edd810324894

📥 Commits

Reviewing files that changed from the base of the PR and between 0a3e2bc and 1b89108.

📒 Files selected for processing (1)
  • .github/workflows/supabase-migrations.yml

📝 Walkthrough

Walkthrough

Supabase 관련 pull request와 수동 실행을 처리하는 GitHub Actions 워크플로를 추가했습니다. 워크플로는 Supabase CLI를 설치하고 로컬 데이터베이스에 마이그레이션을 적용합니다.

Changes

Supabase 마이그레이션 검증

Layer / File(s) Summary
마이그레이션 검증 워크플로
.github/workflows/supabase-migrations.yml
main 대상 Supabase 변경 pull request와 수동 실행을 지원합니다. 저장소 읽기 권한, 동시 실행 취소, 15분 제한을 설정합니다. Ubuntu 환경에서 Supabase CLI 2.114.0을 설치하고 로컬 데이터베이스에 마이그레이션을 적용합니다.

Estimated code review effort: 2 (Simple) | ~10 minutes

Poem

토끼가 새 워크플로를 살펴보네
Supabase 길에 당근을 놓네
CLI가 빠르게 준비되고
마이그레이션이 차례로 흐르고
초록 체크가 깡충 웃네

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch ci/supabase-migration-check

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@AndyH0ng
AndyH0ng merged commit 41f0c9f into main Sep 3, 2026
2 of 3 checks passed
@AndyH0ng
AndyH0ng deleted the ci/supabase-migration-check branch September 3, 2026 08:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant