Skip to content

GitSubmoduleの更新にdependabotを使用する #198

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

Open
yamachu opened this issue Apr 6, 2025 · 0 comments · May be fixed by #214
Open

GitSubmoduleの更新にdependabotを使用する #198

yamachu opened this issue Apr 6, 2025 · 0 comments · May be fixed by #214
Assignees

Comments

@yamachu
Copy link
Owner

yamachu commented Apr 6, 2025

ref: #27

dependabotでどうやらGitSubmoduleの更新も行えるようだ
現在は以下のようなworkflowで更新を行なっている

https://github.com/yamachu/VoicevoxCoreSharp/blob/main/.github/workflows/submodule_tracker.yml

このworkflowで行なっているのは

  • 特定の時間に
  • submoduleを更新し
  • コード生成でdiffがあったら失敗
  • なかったらcommit hashをコードに埋め込みcommit & push

を行なっている

この後段の処理は以下のドキュメントのような方法をとれば出来そう

https://docs.github.com/ja/code-security/dependabot/working-with-dependabot/automating-dependabot-with-github-actions

これにより、pull requestのdescriptionに変更のサマリーが追加されるなど、差分を追うのか楽になるかもしれない

とは言え、dispatchで更新を起動させるのが出来ないし、voicevox_coreのコミットは綺麗にまとまっているのもあり、わざわざdependabotを使わずともfile changesを見れば十分というのもある

@Copilot Copilot AI linked a pull request May 20, 2025 that will close this issue
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 a pull request may close this issue.

1 participant