Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci(workflow): replace auto-assign using github app #131

Merged
merged 2 commits into from
Mar 13, 2025

Conversation

froggy1014
Copy link
Contributor

@froggy1014 froggy1014 commented Mar 9, 2025

Changes

image

유지보수 훨씬 간단할 것 같아서, 저희 오가니제이션에서 이미 사용중이여서 여기 레포에도 추가했습니다.

기존에 있는 코드 액션쪽에서 에러나기도 하고 일단 삭제했습니다.

Summary by CodeRabbit

  • 새로운 기능
    • PR 작성자가 자동으로 할당되어 협업과 PR 관리가 더욱 간편해졌습니다.
  • 정리
    • 기존의 복잡한 자동 할당 워크플로우와 관련 구성 요소가 제거되어 설정이 단순해졌습니다.

Summary by CodeRabbit

  • 새로운 기능
    • PR 작성자가 자동으로 할당되어 협업과 PR 관리가 더욱 간편해졌습니다.
  • 정리
    • 기존의 복잡한 자동 할당 워크플로우와 관련 구성 요소가 제거되어 설정이 단순해졌습니다.

Copy link

coderabbitai bot commented Mar 9, 2025

Walkthrough

이번 풀 리퀘스트에서는 PR 작성자가 자동으로 할당되도록 하는 구성을 도입합니다. .github/auto_assign.yml 파일에 addAssignees: true 설정이 추가되었으며, 기존에 PR 작성자 자동 할당 기능을 수행하던 JavaScript 스크립트(auto_assign.js), 관련 패키지 구성 파일(package.json), 그리고 워크플로우 파일(auto_assign.yaml)이 삭제되었습니다.

Changes

파일 변경 요약
.github/auto_assign.yml PR 작성자가 자동 할당되도록 addAssignees: true 설정 추가
.github/workflows/auto-assign/auto_assign.js, .github/workflows/auto-assign/package.json, .github/workflows/auto_assign.yaml 기존 PR 작성자 자동 할당 기능을 수행하던 스크립트, 패키지 구성, 워크플로우 파일 삭제

Sequence Diagram(s)

sequenceDiagram
    participant Author as PR 작성자
    participant GitHub as GitHub 플랫폼
    participant Config as 자동 할당 설정

    Author->>GitHub: PR 생성
    GitHub->>Config: 설정 확인 (addAssignees: true)
    Config-->>GitHub: 설정 응답
    GitHub->>Author: PR 작성자 자동 할당
Loading

Possibly related PRs

Poem

나는 작은 토끼, 코드를 뛰어넘으며
PR의 흐름 속에 새로운 빛을 보네
한 줄의 설정에 꿈을 담아
자동 할당으로 웃음꽃 피어나네
🐰 코드의 숲에서 춤추는 기쁨을 노래하네!


🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

🧹 Nitpick comments (1)
.github/auto_assign.yml (1)

1-1: 구성 항목 추가 확인 및 새 줄 추가 권고

addAssignees: author 설정이 GitHub 앱을 통한 PR 작성자 자동 할당 기능으로 올바르게 구성되었습니다. 다만, YAMLlint에서 파일 끝에 새 줄(newline)이 없음을 지적하고 있으므로, 파일 끝에 새 줄을 추가하시기 바랍니다.

-addAssignees: author
+addAssignees: author
+
🧰 Tools
🪛 YAMLlint (1.35.1)

[error] 1-1: no new line character at the end of file

(new-line-at-end-of-file)

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 18befa5 and 85b0843.

⛔ Files ignored due to path filters (1)
  • .github/workflows/auto-assign/package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing (4)
  • .github/auto_assign.yml (1 hunks)
  • .github/workflows/auto-assign/auto_assign.js (0 hunks)
  • .github/workflows/auto-assign/package.json (0 hunks)
  • .github/workflows/auto_assign.yaml (0 hunks)
💤 Files with no reviewable changes (3)
  • .github/workflows/auto-assign/auto_assign.js
  • .github/workflows/auto_assign.yaml
  • .github/workflows/auto-assign/package.json
🧰 Additional context used
🪛 YAMLlint (1.35.1)
.github/auto_assign.yml

[error] 1-1: no new line character at the end of file

(new-line-at-end-of-file)

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

🧹 Nitpick comments (1)
.github/auto_assign.yml (1)

1-1: 구성 파일 수정: 줄 끝에 새 줄 추가 필요

YAML 린트에서 지적한 대로, 파일의 마지막 줄에 새 줄(newline) 문자가 없습니다. 유지 보수성과 표준 준수를 위해 파일 끝에 새 줄을 추가하는 것이 좋습니다.

🧰 Tools
🪛 YAMLlint (1.35.1)

[error] 1-1: no new line character at the end of file

(new-line-at-end-of-file)

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 85b0843 and 5cf856a.

📒 Files selected for processing (1)
  • .github/auto_assign.yml (1 hunks)
🧰 Additional context used
🪛 YAMLlint (1.35.1)
.github/auto_assign.yml

[error] 1-1: no new line character at the end of file

(new-line-at-end-of-file)

@froggy1014 froggy1014 enabled auto-merge (squash) March 9, 2025 21:37
Copy link
Member

@developerjhp developerjhp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!! 감사합니다!

@froggy1014 froggy1014 merged commit f6b1b40 into main Mar 13, 2025
3 checks passed
@froggy1014 froggy1014 deleted the chore/auto-assign branch March 13, 2025 23:22
@kimdaeyeobbb
Copy link
Contributor

덕분에 생산성이 증가될거 같아~ 굿!

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.

3 participants