Skip to content

Add Dependabot support for Git submodule updates #214

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

Copilot
Copy link

@Copilot Copilot AI commented May 20, 2025

This PR adds support for using GitHub's Dependabot to automatically update the Git submodule in the repository.

Changes

  1. Updated dependabot.yml to include the gitsubmodule package ecosystem with weekly updates

    • Added "submodule-update" label to identify these PRs
  2. Added two new GitHub workflows:

    • dependabot-submodule-handler.yml: Handles the technical aspects of submodule updates
      • Updates the VoicevoxCoreCommitHash in the properties file
      • Runs code generation to check if binding updates are needed
      • Either completes the update automatically or notifies about required manual changes
    • dependabot-auto-merge.yml: Provides automation for approval and merging
  3. Updated README to document the new Dependabot integration

Benefits

  • PR descriptions from Dependabot include detailed summaries of changes, making it easier to track updates
  • Automated PR creation, approval and merging reduces manual work
  • Consistent weekly checks align with other dependency update schedules

The existing submodule_tracker.yml workflow is preserved as a fallback and could be removed in the future once this integration is confirmed to be working correctly.

Fixes #198.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

@Copilot Copilot AI changed the title [WIP] GitSubmoduleの更新にdependabotを使用する Add Dependabot support for Git submodule updates May 20, 2025
@Copilot Copilot AI requested a review from yamachu May 20, 2025 02:12
@yamachu
Copy link
Owner

yamachu commented May 20, 2025

@copilot READMEの変更は不要です

Copy link
Author

Copilot AI commented May 20, 2025

@copilot READMEの変更は不要です

Removed the README changes as requested in commit 4b6ebb9. All other changes for the Dependabot submodule update functionality are preserved.

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.

GitSubmoduleの更新にdependabotを使用する
2 participants