Skip to content

chore: Dependabot で actions/* を minor/patch グループ化#4

Merged
nanasess merged 1 commit into
feature/actions-commit-hashfrom
chore/dependabot-grouping
Apr 21, 2026
Merged

chore: Dependabot で actions/* を minor/patch グループ化#4
nanasess merged 1 commit into
feature/actions-commit-hashfrom
chore/dependabot-grouping

Conversation

@nanasess
Copy link
Copy Markdown
Contributor

概要

PR #3 のレビューコメント への対応。Dependabot の github-actions エコシステムに groups 設定を追加し、actions/* の公式 Actions 更新を 1 PR に集約する。

変更内容

groups:
  actions-minor-patch:
    patterns:
      - "actions/*"
    update-types:
      - "minor"
      - "patch"

動機

  • actions/checkout / actions/setup-dotnet 等が同週にリリースされた場合、現状は Action 数ぶんの PR が立つ → 集約で 1 PR
  • open-pull-requests-limit: 5 枠の節約
  • CI 実行コスト・レビュー負荷の削減
  • major update は個別 PR を維持 することで breaking change の見逃しを防ぐ

スタック PR

本 PR は PR #3(SHA ピン留め)に積み上げるスタック PR です。base ブランチは feature/actions-commit-hash。PR #3 が main にマージされたあと、自動的に base が main に切り替わります。

関連

EcAuth org 配下の他リポでも同一方針で grouping 追加 PR を作成します。

🤖 Generated with Claude Code

`actions/checkout` / `actions/setup-dotnet` 等の公式 Actions の更新を
週次で 1 PR に集約する。major update は breaking change の可能性があるため
個別 PR のまま維持する。

本コミットは PR #3 (SHA ピン留め) に積み上げるスタック PR として扱う。
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 21, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 0dc813d0-6f88-45b7-b7a2-7ef25704a600

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/dependabot-grouping

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

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

Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request updates the Dependabot configuration to group minor and patch updates for GitHub Actions into a single pull request. A review comment suggests explicitly defining the commit message prefix within the new group configuration to ensure that grouped pull requests adhere to the project's 'chore' prefix convention and avoid potential linter failures.

Comment thread .github/dependabot.yml
Comment on lines +21 to +26
actions-minor-patch:
patterns:
- "actions/*"
update-types:
- "minor"
- "patch"
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

medium

グループ化されたプルリクエストのタイトルやコミットメッセージにも chore プレフィックスを適用するために、groups 内でも commit-message の設定を明示的に定義することをお勧めします。Dependabot のデフォルト動作では、グループ化された PR のタイトルがエコシステムレベルの commit-message 設定を必ずしも継承せず、chore: プレフィックスが欠落した状態で生成される(例: 「Bump the actions-minor-patch group...」)可能性があるためです。これにより、PR タイトルの規約チェック(Linter 等)に抵触するのを防げます。

      actions-minor-patch:
        patterns:
          - "actions/*"
        update-types:
          - "minor"
          - "patch"
        commit-message:
          prefix: "chore"
          include: "scope"

@nanasess nanasess merged commit 0058877 into feature/actions-commit-hash Apr 21, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant