Skip to content

PRラベラの修正#1493

Merged
TinyKitten merged 2 commits intodevfrom
fix/pr-labeler
May 4, 2026
Merged

PRラベラの修正#1493
TinyKitten merged 2 commits intodevfrom
fix/pr-labeler

Conversation

@TinyKitten
Copy link
Copy Markdown
Member

@TinyKitten TinyKitten commented May 4, 2026

概要

今までmasterブランチへのPRでdeploy:devが誤って自動的に貼られていたが、deploy-prodが貼られるように修正。
ほかにもdevブランチ向けのlabeler修正あり。

変更の種類

  • バグ修正
  • 新機能
  • データの修正・追加
  • リファクタリング
  • ドキュメント
  • CI/CD
  • その他

変更内容

テスト

  • cargo fmt --all -- --check が通ること
  • cargo clippy -- -D warnings が通ること
  • cargo testSQLX_OFFLINE=true)が通ること

関連Issue

スクリーンショット(任意)

Summary by CodeRabbit

Chores

  • PR自動ラベリング設定が更新されました。デプロイメント環境向けの新しいラベリングルールが追加され、ソースブランチ識別用ラベルマッピングが整理されました。これにより、プルリクエストの自動分類がより正確で効率的になり、開発ワークフロー管理がシンプル化されます。

@TinyKitten TinyKitten self-assigned this May 4, 2026
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 4, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 9eefbe93-a8be-42cf-82ad-ec94af9a426d

📥 Commits

Reviewing files that changed from the base of the PR and between 48e6795 and e511371.

📒 Files selected for processing (2)
  • .github/labeler.yml
  • .github/pr-labeler.yml
💤 Files with no reviewable changes (1)
  • .github/pr-labeler.yml

📝 Walkthrough

Walkthrough

GitHub ラベラー設定ファイルが再構成されました。デプロイ関連のラベルルールが .github/pr-labeler.yml から .github/labeler.yml へ移行され、ベースブランチマッチングロジックを使用した新しい deploy-proddeploy-dev ラベルが追加されています。

Changes

ラベラー設定の再構成

Layer / File(s) Summary
新規ラベルルール定義
.github/labeler.yml
data セクション内に deploy-prod (マスターブランチ対象) と deploy-dev (devブランチ対象) のベースブランチマッチングルールを追加。
従来ルールの削除
.github/pr-labeler.yml
deploy:productiondeploy:devdeploy:staging に関するベースブランチパターン定義を削除。ソースブランチパターン(feature/*fix/* など) のみが残される。

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Poem

🐰✨ ウサギが跳ねて、設定を整える
デプロイのラベル、新しい場所へ
ブランチマッチング、スムーズに流れる
マスターとデブ、仕分けもクリア
🎯 ラベル祭り、完成だ!

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 inconclusive)

Check name Status Explanation Resolution
Title check ❓ Inconclusive PRのタイトル「Fix/pr labeler」はPRラベラー設定の修正という主要な変更内容を示唆していますが、具体的には不十分で、修正内容の詳細が不明確です。 より具体的なタイトルに変更してください。例:「Fix deploy label assignment for master branch PRs」または「Fix PR labeler: apply deploy-prod for master branch」
✅ Passed checks (4 passed)
Check name Status Explanation
Description check ✅ Passed 説明テンプレートのほぼすべてのセクションが完備されており、概要、変更種別、関連情報が含まれています。ただし「変更内容」セクションが空白のままです。
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/pr-labeler

Review rate limit: 4/5 reviews remaining, refill in 12 minutes.

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions github-actions Bot added fix 直した ci/cd and removed fix 直した labels May 4, 2026
@TinyKitten TinyKitten merged commit 0db8328 into dev May 4, 2026
3 checks passed
@TinyKitten TinyKitten deleted the fix/pr-labeler branch May 4, 2026 08:48
@TinyKitten TinyKitten changed the title Fix/pr labeler PRラベラの修正 May 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant