-
Notifications
You must be signed in to change notification settings - Fork 0
Add/#446 리뷰어 자동 배정 추가 #447
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
The head ref may contain hidden characters: "setting/#446-\uC548\uB4DC\uB530\uB77C\uD558\uAE30"
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,19 @@ | ||||||||||||||||
| # 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 | ||||||||||||||||
|
Comment on lines
+8
to
+11
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 리뷰어 목록에서 PR 작성자를 제외하세요. 리뷰어 목록에 일부 자동 할당 액션은 PR 작성자를 자동으로 제외하지만, 모든 액션이 그런 것은 아닙니다. 명시적으로 작성자를 제외하는 것이 안전합니다. 🔧 제안 수정사항 reviewers:
- y-eonee
- dev-domo
- - juri123123📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||||||||||||
|
|
||||||||||||||||
| # 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 | ||||||||||||||||
|
Comment on lines
+1
to
+19
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧩 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에서 현재 예시 워크플로우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 |
||||||||||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
🏁 Script executed:
Repository: 36-APPJAM-HEARTZ/BYEBOO-iOS
Length of output: 369
🏁 Script executed:
Repository: 36-APPJAM-HEARTZ/BYEBOO-iOS
Length of output: 745
🏁 Script executed:
Repository: 36-APPJAM-HEARTZ/BYEBOO-iOS
Length of output: 745
🏁 Script executed:
Repository: 36-APPJAM-HEARTZ/BYEBOO-iOS
Length of output: 745
🏁 Script executed:
Repository: 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:
🌐 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:
🌐 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:
🏁 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:
Repository: 36-APPJAM-HEARTZ/BYEBOO-iOS
Length of output: 779
🏁 Script executed:
Repository: 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