Skip to content

refactor: workflow 개선 및 Linear 연동#216

Merged
clxxrlove merged 3 commits intodevelopfrom
refactor/#215
Mar 26, 2026
Merged

refactor: workflow 개선 및 Linear 연동#216
clxxrlove merged 3 commits intodevelopfrom
refactor/#215

Conversation

@clxxrlove
Copy link
Member

@clxxrlove clxxrlove commented Mar 26, 2026

🔗 관련 이슈

📙 작업 내역

  • CI/CD 개선 (됐는진 아직 모르겠음 .,..)
    • ci_pr.yml에서 SwiftLint job 제거 (빌드 시 Xcode Build Phase에서 실행됨)
    • DerivedData 캐시 키 단순화 (Package.resolved만 사용)
    • SPM 캐시 조건부 실행 추가 (cache-hit 시 tuist install/cache 스킵)
    • 의미 없는 ~/.cache/tuist 캐시 제거
    • CD 워크플로우에 DerivedData 캐시 추가
    • install-swiftlint 입력 제거
  • Notion 관련 워크플로우 제거
  • 이슈 생성시 브랜치 네이밍 규칙 수정
    • 리니어 연동에 따라 브랜치 네이밍 규칙은 이제 {타입}/#{깃허브 이슈 ID}/{리니어 이슈 ID}
    • 예시는 feat/#123/TWI-456
    • 만약 리니어가 아니라 직접 생성한 이슈의 경우 리니어 이슈 ID는 추가되지 않음
    • 리니어 - 깃허브 PR 연동에서 조건 중 하나가 브랜치 네이밍이라고 해서 수정해봤음
  • 아직 Github App이 승인이 안 되어서 현시점에서 레포지토리에서 테스트는 불가능

💬 추가 설명 or 리뷰 포인트 (선택)

@coderabbitai
Copy link

coderabbitai bot commented Mar 26, 2026

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: b7535f3f-030a-42e7-8473-f88a040762ac

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
📝 Walkthrough

Walkthrough

CI/CD 파이프라인 최적화를 위해 빌드 캐싱을 추가하고, Notion 통합을 제거했습니다. Tuist 바이너리와 Xcode DerivedData 캐싱을 도입하고, SwiftLint를 별도 작업으로 분리했으며, 빌드 번호 생성 로직을 GitHub Actions 실행 번호 기반으로 변경했습니다.

Changes

코호트 / 파일(s) 요약
빌드 캐싱 및 최적화
\.github/actions/setup-build-env/action.yml, \.github/workflows/ci_pr.yml
Tuist 바이너리 캐싱(runner.os 및 버전 4.118.0 기준) 추가, PATH 업데이트를 별도 단계로 분리. CI PR 워크플로우에서 Xcode DerivedData 캐싱 추가, SwiftLint를 별도 ubuntu-latest 작업으로 분리, 빌드 환경 설정에서 SwiftLint 설치 비활성화.
빌드 번호 생성 로직 개선
\.github/workflows/cd_develop.yml, \.github/workflows/cd_main.yml, fastlane/Fastfile
fetch-depth를 0으로 설정하여 전체 저장소 히스토리 확보. GITHUB_RUN_NUMBER 환경변수를 Fastlane 배포 단계에 추가. 빌드 번호 생성을 TestFlight 쿼리에서 git rev-list --count HEAD * 100 + (GITHUB_RUN_NUMBER % 100) 방식으로 변경.
Notion 통합 제거
\.github/scripts/create-notion-page.js, \.github/workflows/create-notion-page.yml
Notion 페이지 생성 스크립트 전체 삭제(Notion API 클라이언트, Markdown 변환, 페이지 생성 로직 포함). 이슈 생성 시 자동으로 Notion 페이지를 생성하는 워크플로우 삭제.
워크플로우 기능 개선
\.github/workflows/ci_pr.yml, \.github/workflows/issue-automation.yml
CI PR 워크플로우에 동시성 제어 추가(동일 PR 실행 취소). 이슈 자동화에서 이슈 제목에서 Linear ID 패턴([TWI-<digits>]) 추출, 브랜치명 생성에 포함, 기본 브랜치를 develop으로 고정.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~25 minutes

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch refactor/#215

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 and usage tips.

@clxxrlove clxxrlove self-assigned this Mar 26, 2026
@clxxrlove clxxrlove requested a review from jihun32 March 26, 2026 02:54
@clxxrlove
Copy link
Member Author

@coderabbitai summary

@coderabbitai
Copy link

coderabbitai bot commented Mar 26, 2026

✅ Actions performed

Summary regeneration triggered.

@clxxrlove clxxrlove merged commit ba78c03 into develop Mar 26, 2026
4 checks passed
@clxxrlove clxxrlove deleted the refactor/#215 branch March 26, 2026 03:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant