fix(auto-assign-pr): Bot PR でのワークフロー失敗を防止#33
Merged
kryota-dev merged 4 commits intomainfrom Feb 23, 2026
Merged
Conversation
- workflow_call に bot-assignees 入力パラメータを追加 - github.actor が [bot] で終わるかで Bot 判定するステップを追加 - Human ユーザー: 従来通り PR 作成者をアサイン - Bot + bot-assignees 指定あり: 指定ユーザーをアサイン - Bot + bot-assignees 未指定: スキップしてログ出力 - my-setup-pr.yml に bot-assignees: kryota-dev を追加 Closes #28 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Inputs テーブルに bot-assignees パラメータを追加 - Bot PR 時の動作フローセクションを追加 - 使用例を3パターンに拡充(基本/単一ユーザー/複数ユーザー) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- 要件定義・設計・タスク・実装ログを追加 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概要
auto-assign-pr.ymlReusable Workflow が Bot ユーザー(Renovate Bot 等)の PR で失敗する問題を修正。Bot PR の場合はbot-assigneesパラメータで指定されたユーザーをアサインし、未指定の場合はスキップして正常終了するようにした。変更内容
auto-assign-pr.ymlにbot-assignees入力パラメータ(string, optional)を追加github.actorが[bot]で終わるかで Bot 判定するステップを追加bot-assignees指定あり → 指定ユーザーをカンマ区切りでアサインbot-assignees未指定 → スキップしてログ出力my-setup-pr.ymlにbot-assignees: 'kryota-dev'を追加auto-assign-pr.mdドキュメントを更新(Inputs テーブル、動作フロー、使用例を追加)関連 Issue
closes #28
チェックリスト
uses:は full commit SHA(40文字)でピン留めし、タグをコメントで記載したpermissionsを最小限で設定したactionlintを実行し、エラーがないことを確認した