Add/#446 리뷰어 자동 배정 추가#447
Hidden character warning
Conversation
개요
변경사항GitHub 자동 리뷰어 할당 설정
예상 코드 리뷰 소요 시간🎯 1 (Trivial) | ⏱️ ~3분 시
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
There was a problem hiding this comment.
Actionable comments posted: 3
🧹 Nitpick comments (1)
.github/auto_assign.yml (1)
14-15: 💤 Low value대소문자 변형을 고려해보세요.
현재
wip키워드만 건너뛰기 대상으로 설정되어 있습니다. PR 제목에WIP,Wip,[wip],[WIP]등 다양한 변형이 사용될 수 있습니다.사용 중인 액션이 대소문자를 구분하는 경우, 추가 변형을 포함하는 것을 고려해보세요:
skipKeywords: - wip - WIP - '[wip]' - '[WIP]'🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In @.github/auto_assign.yml around lines 14 - 15, The skipKeywords list currently only contains the lowercase token "wip", which misses common case/format variants; update the skipKeywords array to include additional variants such as "WIP", "[wip]", "[WIP]" (and any other project-specific formats) so the auto-assign action ignores PRs regardless of case or bracketed styles; modify the skipKeywords entry that contains "wip" to include these additional string entries.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In @.github/auto_assign.yml:
- Around line 8-11: The reviewers list currently includes the PR author username
juri123123 under the reviewers key; update the .github/auto_assign.yml config so
PR authors are excluded by removing juri123123 from the static reviewers array
and/or add the action's exclusion setting (e.g., an exclude or exclude_users key
referencing the PR author placeholder) so the author is never assigned; target
the reviewers key in .github/auto_assign.yml and adjust the config to explicitly
exclude the PR author.
- Around line 1-19: The auto_assign configuration (fields like addReviewers,
reviewers, numberOfReviewers) is not invoked by any GitHub Actions workflow; add
a new workflow that triggers on pull_request (types: opened, ready_for_review)
and includes a job/step that uses the auto-assign action (e.g.,
kentaro-m/auto-assign-action@v1.2.5) so the settings in auto_assign.yml are
actually applied; ensure the workflow name (e.g., "Auto Assign") and job id
(e.g., add-reviews) reference the action in the steps list and commit the
workflow into the workflows directory so it runs alongside the existing
build_test.yml.
- Around line 4-5: Confirm there is a GitHub Actions workflow that actually
invokes the kentaro-m/auto-assign-action so the addAssignees: author setting is
applied; if no workflow exists in your workflows directory that uses
kentaro-m/auto-assign-action (and points its config to your auto_assign.yml),
add or update a workflow job to use kentaro-m/auto-assign-action with the config
set to your auto_assign.yml so the addAssignees: author option takes effect.
---
Nitpick comments:
In @.github/auto_assign.yml:
- Around line 14-15: The skipKeywords list currently only contains the lowercase
token "wip", which misses common case/format variants; update the skipKeywords
array to include additional variants such as "WIP", "[wip]", "[WIP]" (and any
other project-specific formats) so the auto-assign action ignores PRs regardless
of case or bracketed styles; modify the skipKeywords entry that contains "wip"
to include these additional string entries.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: 4085823e-1ced-44be-bbb9-485eb64e7a06
📒 Files selected for processing (1)
.github/auto_assign.yml
| # Set to true to add reviewers to pull requests | ||
| addReviewers: true | ||
|
|
||
| # Set to true to add assignees to pull requests | ||
| addAssignees: author | ||
|
|
||
| # A list of reviewers to be added to pull requests (GitHub user name) | ||
| reviewers: | ||
| - y-eonee | ||
| - dev-domo | ||
| - juri123123 | ||
|
|
||
| # A list of keywords to be skipped the process that add reviewers if pull requests include it | ||
| skipKeywords: | ||
| - wip | ||
|
|
||
| # A number of reviewers added to the pull request | ||
| # Set 0 to add all the reviewers (default: 0) | ||
| numberOfReviewers: 0 |
There was a problem hiding this comment.
🧩 Analysis chain
🏁 Script executed:
#!/bin/bash
# Description: Check if GitHub Actions workflow file exists that would use this config
# List all workflow files
fd -e yml -e yaml . .github/workflows/
# Check if any workflow uses auto-assign action
rg -l 'auto-assign' .github/workflows/ || echo "No auto-assign workflow found"Repository: 36-APPJAM-HEARTZ/BYEBOO-iOS
Length of output: 134
🏁 Script executed:
#!/bin/bash
set -euo pipefail
echo "== workflow file list =="
fd -e yml -e yaml . .github/workflows/ || true
echo "== search for config filename usage =="
rg -n --hidden --glob '!.git/*' 'auto_assign\.yml' .github/workflows || echo "No reference to auto_assign.yml in workflows"
echo "== search for action usage =="
rg -n --hidden --glob '!.git/*' 'kentaro-m/auto-assign-action|auto-assign-action' .github/workflows || echo "No reference to kentaro-m/auto-assign-action in workflows"
echo "== search for config keys =="
rg -n --hidden --glob '!.git/*' '(addReviewers|addAssignees|skipKeywords|numberOfReviewers|reviewers:\s*\n\s*-\s*)' .github/workflows || echo "No reference to auto_assign.yml keys in workflows"Repository: 36-APPJAM-HEARTZ/BYEBOO-iOS
Length of output: 590
🏁 Script executed:
#!/bin/bash
set -euo pipefail
echo "== workflow file list =="
fd -e yml -e yaml . .github/workflows/ || true
echo "== search for config filename usage =="
rg -n --hidden --glob '!.git/*' 'auto_assign\.yml' .github/workflows || echo "No reference to auto_assign.yml in workflows"
echo "== search for action usage =="
rg -n --hidden --glob '!.git/*' 'kentaro-m/auto-assign-action|auto-assign-action' .github/workflows || echo "No reference to kentaro-m/auto-assign-action in workflows"
echo "== search for config keys =="
rg -n --hidden --glob '!.git/*' '(addReviewers|addAssignees|skipKeywords|numberOfReviewers|reviewers:\s*$)' .github/workflows || echo "No reference to auto_assign.yml keys in workflows"Repository: 36-APPJAM-HEARTZ/BYEBOO-iOS
Length of output: 380
🏁 Script executed:
#!/bin/bash
set -euo pipefail
echo "== workflow file list =="
fd -e yml -e yaml . .github/workflows/ || true
echo "== search for config filename usage =="
rg -n --hidden --glob '!.git/*' 'auto_assign\.yml' .github/workflows || echo "No reference to auto_assign.yml in workflows"
echo "== search for action usage =="
rg -n --hidden --glob '!.git/*' 'kentaro-m/auto-assign-action|auto-assign-action' .github/workflows || echo "No reference to kentaro-m/auto-assign-action in workflows"
echo "== search for config keys =="
rg -n --hidden --glob '!.git/*' '(addReviewers|addAssignees|skipKeywords|numberOfReviewers|reviewers:\s*$)' .github/workflows || echo "No reference to auto_assign.yml keys in workflows"Repository: 36-APPJAM-HEARTZ/BYEBOO-iOS
Length of output: 380
GitHub Actions에서 auto_assign.yml을 사용하는 워크플로우가 없습니다.
현재 .github/workflows/에는 build_test.yml만 있고, 워크플로우 내에서 auto_assign.yml 또는 kentaro-m/auto-assign-action/auto-assign을 참조하는 구문이 없어 이 설정만으로는 자동 리뷰어/어사ignee 할당이 실행되지 않습니다.
필요하면 .github/workflows/에 auto-assign-action을 호출하는 워크플로우를 추가하세요(예: 아래 형태).
예시 워크플로우
name: 'Auto Assign'
on:
pull_request:
types: [opened, ready_for_review]
jobs:
add-reviews:
runs-on: ubuntu-latest
steps:
- uses: kentaro-m/auto-assign-action@v1.2.5🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In @.github/auto_assign.yml around lines 1 - 19, The auto_assign configuration
(fields like addReviewers, reviewers, numberOfReviewers) is not invoked by any
GitHub Actions workflow; add a new workflow that triggers on pull_request
(types: opened, ready_for_review) and includes a job/step that uses the
auto-assign action (e.g., kentaro-m/auto-assign-action@v1.2.5) so the settings
in auto_assign.yml are actually applied; ensure the workflow name (e.g., "Auto
Assign") and job id (e.g., add-reviews) reference the action in the steps list
and commit the workflow into the workflows directory so it runs alongside the
existing build_test.yml.
| # Set to true to add assignees to pull requests | ||
| addAssignees: author |
There was a problem hiding this comment.
🧩 Analysis chain
🏁 Script executed:
#!/bin/bash
# Description: Find GitHub Actions workflow files that use this auto_assign.yml config
# Search for workflow files that reference auto_assign.yml or use auto-assign actions
rg -n -C3 'auto.assign' --glob '.github/workflows/*.yml' --glob '.github/workflows/*.yaml'
# Also check for kentaro-m/auto-assign-action or similar actions
rg -n 'uses:.*auto.*assign' --glob '.github/workflows/*.yml' --glob '.github/workflows/*.yaml'Repository: 36-APPJAM-HEARTZ/BYEBOO-iOS
Length of output: 369
🏁 Script executed:
#!/bin/bash
set -euo pipefail
echo "== List .github =="
ls -la .github || true
echo
echo "== Tree .github (max depth 3) =="
find .github -maxdepth 3 -type f -print || true
echo
echo "== Contents of .github/auto_assign.yml (if exists) =="
if [ -f .github/auto_assign.yml ]; then
nl -ba .github/auto_assign.yml
else
echo "Missing: .github/auto_assign.yml"
fi
echo
echo "== Search for addAssignees usage =="
rg -n "addAssignees" .github || true
echo
echo "== Search for auto-assign-action usage =="
rg -n "auto-assign-action|kentaro-m/auto-assign" .github || true
echo
echo "== Search for auto_assign.yml reference =="
rg -n "auto_assign\.yml" .github || trueRepository: 36-APPJAM-HEARTZ/BYEBOO-iOS
Length of output: 745
🏁 Script executed:
#!/bin/bash
set -euo pipefail
echo "== List .github =="
ls -la .github || true
echo
echo "== Tree .github (max depth 3) =="
find .github -maxdepth 3 -type f -print || true
echo
echo "== Contents of .github/auto_assign.yml (if exists) =="
if [ -f .github/auto_assign.yml ]; then
nl -ba .github/auto_assign.yml
else
echo "Missing: .github/auto_assign.yml"
fi
echo
echo "== Search for addAssignees usage =="
rg -n "addAssignees" .github || true
echo
echo "== Search for auto-assign-action usage =="
rg -n "auto-assign-action|kentaro-m/auto-assign" .github || true
echo
echo "== Search for auto_assign.yml reference =="
rg -n "auto_assign\.yml" .github || trueRepository: 36-APPJAM-HEARTZ/BYEBOO-iOS
Length of output: 745
🏁 Script executed:
#!/bin/bash
set -euo pipefail
echo "== List .github =="
ls -la .github || true
echo
echo "== Tree .github (max depth 3) =="
find .github -maxdepth 3 -type f -print || true
echo
echo "== Contents of .github/auto_assign.yml (if exists) =="
if [ -f .github/auto_assign.yml ]; then
nl -ba .github/auto_assign.yml
else
echo "Missing: .github/auto_assign.yml"
fi
echo
echo "== Search for addAssignees usage =="
rg -n "addAssignees" .github || true
echo
echo "== Search for auto-assign-action usage =="
rg -n "auto-assign-action|kentaro-m/auto-assign" .github || true
echo
echo "== Search for auto_assign.yml reference =="
rg -n "auto_assign\.yml" .github || trueRepository: 36-APPJAM-HEARTZ/BYEBOO-iOS
Length of output: 745
🏁 Script executed:
#!/bin/bash
set -euo pipefail
echo "== List .github =="
ls -la .github || true
echo
echo "== Files in .github (maxdepth 3) =="
find .github -maxdepth 3 -type f -print || true
echo
echo "== Contents of .github/auto_assign.yml (if exists) =="
if [ -f .github/auto_assign.yml ]; then
nl -ba .github/auto_assign.yml
else
echo "Missing: .github/auto_assign.yml"
fi
echo
echo "== Search for addAssignees usage =="
rg -n "addAssignees" .github || true
echo
echo "== Search for auto-assign-action usage =="
rg -n "auto-assign-action|kentaro-m/auto-assign" .github || true
echo
echo "== Search for auto_assign.yml reference =="
rg -n "auto_assign\.yml" .github || trueRepository: 36-APPJAM-HEARTZ/BYEBOO-iOS
Length of output: 748
🌐 Web query:
addAssignees author auto_assign.yml kentaro-m auto-assign-action schema
💡 Result:
To assign the pull request creator as an assignee using the kentaro-m/auto-assign-action, you must set the addAssignees option to 'author' in your configuration file (typically.github/auto_assign.yml) [1][2][3]. Configuration example: addAssignees: author When this option is set, the action identifies the user who created the pull request and automatically assigns them to the issue [1][3]. This functions independently of other reviewer or assignee list configurations [3].
Citations:
- 1: https://github.com/kentaro-m/auto-assign-action
- 2: https://github.com/marketplace/actions/auto-assign-action
- 3: https://github.com/kentaro-m/auto-assign-action/blob/master/CLAUDE.md
🌐 Web query:
addAssignees: author addAssignees auto-assign-action configuration file
💡 Result:
In the auto-assign-action GitHub Action, the addAssignees configuration option determines if and how the pull request creator or other users are automatically assigned to a pull request [1][2]. To assign the author of the pull request as the assignee, set addAssignees to author in your configuration file (typically.github/auto_assign.yml) [1][3][4]: addAssignees: author When configured this way, the action automatically adds the PR creator as the assignee of the pull request [2][5]. Other valid settings for addAssignees include: true: Enables the assignment of users specified in your assignees list or groups [1][4]. false: Disables automatic assignment of assignees [1][4]. For standard assignee assignment, ensure that either assignees (for a single list) or assigneeGroups (for multiple groups) are also defined in the same configuration file to specify which users should be selected [2][4].
Citations:
- 1: https://github.com/kentaro-m/auto-assign-action
- 2: https://github.com/kentaro-m/auto-assign-action/blob/master/CLAUDE.md
- 3: https://github.com/marketplace/actions/auto-assign-action
- 4: https://github.com/step-security/auto-assign-action/blob/main/README.md
- 5: https://github.com/kentaro-m/auto-assign/blob/master/README.md
🌐 Web query:
kentaro-m auto-assign-action auto_assign.yml addAssignees
💡 Result:
In the kentaro-m/auto-assign-action configuration file (typically.github/auto_assign.yml), the addAssignees setting controls how assignees are added to a pull request [1][2]. You can use the following options for addAssignees: 1. Boolean (true/false): Set to true to enable adding assignees to pull requests, or false to disable this feature [1][3]. 2. "author": Setting addAssignees to "author" automatically assigns the pull request creator as the assignee [1][3][2]. When addAssignees is set to true, you can further control the behavior using additional keys in your configuration file: - assignees: A list of specific users to be added as assignees (this overrides the default reviewer list if provided) [1][4]. - numberOfAssignees: Defines how many assignees should be added [1][3]. Setting this to 0 will add all available assignees [1][3]. If left unset, it defaults to the value of numberOfReviewers [1][3]. - useAssigneeGroups: Set to true if you want to use grouped assignment (defined under assigneeGroups) instead of a single list [1][3][2]. Example configuration for setting the author as the assignee: addAssignees: author Example configuration for using a list of assignees: addAssignees: true numberOfAssignees: 1 assignees: - user1 - user2
Citations:
- 1: https://github.com/kentaro-m/auto-assign-action
- 2: https://github.com/kentaro-m/auto-assign-action/blob/master/CLAUDE.md
- 3: https://github.com/kentaro-m/auto-assign/blob/master/README.md
- 4: https://github.com/marketplace/actions/auto-assign-action?version=v1.1.1
🏁 Script executed:
rg -n "auto_assign\.yml|auto-assign-action|kentaro-m/auto-assign|addAssignees" .github --hiddenRepository: 36-APPJAM-HEARTZ/BYEBOO-iOS
Length of output: 118
🏁 Script executed:
#!/bin/bash
set -euo pipefail
echo "== auto_assign.yml content =="
# nl is missing in this environment; use sed instead
sed -n '1,120p' .github/auto_assign.yml
echo
echo "== Search workflows for auto-assign action/uses =="
rg -n "kentaro-m/auto-assign-action|auto-assign-action|auto_assign\.yml|auto-assign" .github/workflows --hidden || true
echo
echo "== Search workflows for addAssignees =="
rg -n "addAssignees" .github/workflows --hidden || true
echo
echo "== Search whole repo for addAssignees =="
rg -n "addAssignees" .github --hidden || trueRepository: 36-APPJAM-HEARTZ/BYEBOO-iOS
Length of output: 779
🏁 Script executed:
#!/bin/bash
set -euo pipefail
echo "== Search whole repo for kentaro-m/auto-assign-action =="
rg -n "kentaro-m/auto-assign-action" . --hidden || true
echo "== Search whole repo for auto-assign-action =="
rg -n "auto-assign-action" . --hidden || true
echo "== Search whole repo for addAssignees (beyond config) =="
rg -n "addAssignees" . --hidden || true
echo "== Show workflows/*.yml filenames =="
find .github/workflows -maxdepth 1 -type f -print || true
echo "== Contents of .github/workflows/build_test.yml (first 200 lines) =="
sed -n '1,200p' .github/workflows/build_test.ymlRepository: 36-APPJAM-HEARTZ/BYEBOO-iOS
Length of output: 1736
addAssignees: author는 타입 불일치가 아님—다만 해당 설정이 실제로 적용되는지 확인 필요
.github/auto_assign.yml의 addAssignees: author는 PR 작성자를 assignee로 지정하는 옵션으로 사용되는 값이라 불린(true/false) 타입 오류로 보이지 않습니다.
다만 저장소 내 .github/workflows에서 kentaro-m/auto-assign-action을 uses:로 호출하는 워크플로우가 확인되지 않아, 현재 이 설정이 실제 자동 할당에 반영되는지(다른 메커니즘/워크플로우 추가 필요) 확인이 필요합니다.
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In @.github/auto_assign.yml around lines 4 - 5, Confirm there is a GitHub
Actions workflow that actually invokes the kentaro-m/auto-assign-action so the
addAssignees: author setting is applied; if no workflow exists in your workflows
directory that uses kentaro-m/auto-assign-action (and points its config to your
auto_assign.yml), add or update a workflow job to use
kentaro-m/auto-assign-action with the config set to your auto_assign.yml so the
addAssignees: author option takes effect.
| reviewers: | ||
| - y-eonee | ||
| - dev-domo | ||
| - juri123123 |
There was a problem hiding this comment.
리뷰어 목록에서 PR 작성자를 제외하세요.
리뷰어 목록에 juri123123가 포함되어 있는데, 이 사용자가 현재 PR의 작성자입니다. PR 작성자가 자신의 PR을 리뷰하는 것은 일반적으로 권장되지 않습니다.
일부 자동 할당 액션은 PR 작성자를 자동으로 제외하지만, 모든 액션이 그런 것은 아닙니다. 명시적으로 작성자를 제외하는 것이 안전합니다.
🔧 제안 수정사항
reviewers:
- y-eonee
- dev-domo
- - juri123123📝 Committable suggestion
‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.
| reviewers: | |
| - y-eonee | |
| - dev-domo | |
| - juri123123 | |
| reviewers: | |
| - y-eonee | |
| - dev-domo |
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In @.github/auto_assign.yml around lines 8 - 11, The reviewers list currently
includes the PR author username juri123123 under the reviewers key; update the
.github/auto_assign.yml config so PR authors are excluded by removing juri123123
from the static reviewers array and/or add the action's exclusion setting (e.g.,
an exclude or exclude_users key referencing the PR author placeholder) so the
author is never assigned; target the reviewers key in .github/auto_assign.yml
and adjust the config to explicitly exclude the PR author.
🔗 연결된 이슈
📄 작업 내용
Summary by CodeRabbit
Chores