Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions .github/auto_assign.yml
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
Comment on lines +4 to +5

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟡 Minor

🧩 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 || true

Repository: 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 || true

Repository: 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 || true

Repository: 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 || true

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 --hidden

Repository: 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 || true

Repository: 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.yml

Repository: 36-APPJAM-HEARTZ/BYEBOO-iOS

Length of output: 1736


addAssignees: author는 타입 불일치가 아님—다만 해당 설정이 실제로 적용되는지 확인 필요

.github/auto_assign.ymladdAssignees: author는 PR 작성자를 assignee로 지정하는 옵션으로 사용되는 값이라 불린(true/false) 타입 오류로 보이지 않습니다.
다만 저장소 내 .github/workflows에서 kentaro-m/auto-assign-actionuses:로 호출하는 워크플로우가 확인되지 않아, 현재 이 설정이 실제 자동 할당에 반영되는지(다른 메커니즘/워크플로우 추가 필요) 확인이 필요합니다.

🤖 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.


# 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

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟠 Major | ⚡ Quick win

리뷰어 목록에서 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.

Suggested change
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.


# 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

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🔴 Critical

🧩 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.

Loading