Refactor PR labeler configuration and upgrade to v5#1409
Merged
Conversation
- actions/labeler を v4 → v5 に更新し、labeler.yml を v5 形式に移行 - TimonVS/pr-labeler-action@v5 を追加してブランチパターンによるラベル付与を実装 - ヘッドブランチ (feature/*, fix/*, data/*, release/* 等) に基づくラベル付与 - ベースブランチ (master, dev, staging) に基づく deploy:production / deploy:dev / deploy:staging ラベル付与 - labeler.yml からブランチ記法 (deploy-prod, deploy-staging, deploy-dev) を除去 https://claude.ai/code/session_011JibAfjh65ao3VdZFJhXka
Contributor
📝 WalkthroughWalkthroughGitHubのPRラベリングワークフローを強化するため、ラベラー設定ファイルを再構成し、新しい分岐パターンを追加し、アクションバージョンをv4からv5にアップグレードしました。 Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Suggested labels
Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches
🧪 Generate unit tests (beta)
Comment |
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.
Summary
Updated the PR labeler workflow to use the latest version of the labeler action and restructured the labeling configuration to separate file-based and branch-based labeling strategies. #1377
Key Changes
actions/labelerfrom v4 to v5 in the PR labeler workflow.github/labeler.ymlto use the newchanged-filessyntax withany-glob-to-any-filematchers, which is required by labeler v5deploy-prod,deploy-staging,deploy-dev) from the file-based labeler configurationlabel-by-branchusingTimonVS/pr-labeler-action@v5to handle branch-based labeling separately.github/pr-labeler.ymlwith:Implementation Details
The labeling logic is now split into two independent jobs:
label-by-files: Uses the official GitHub labeler action to apply labels based on changed fileslabel-by-branch: Uses a community action to apply labels based on branch naming conventionsThis separation provides better maintainability and allows for independent scaling of each labeling strategy.
https://claude.ai/code/session_011JibAfjh65ao3VdZFJhXka
Summary by CodeRabbit
リリースノート