Skip to content
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

是否需要自动合并 dependabot 创建并通过检查的 PR #11

Open
vivodi opened this issue Oct 28, 2024 · 2 comments
Open

是否需要自动合并 dependabot 创建并通过检查的 PR #11

vivodi opened this issue Oct 28, 2024 · 2 comments

Comments

@vivodi
Copy link
Contributor

vivodi commented Oct 28, 2024

目前,dependabot 会检查依赖更新并创建 PR,如果 @madwind 觉得手动合并这些 PR 过于繁琐,我可以写一个自动合并 dependabot 创建并通过所有检查的 PR 的 workflow。

虽然这样做有一定的局限性:目前的检查只能保证 docker 映像构建成功,并不能保证 FlexGet 正确运行。但是这可以大大减轻 @madwind 的工作量。

@vivodi
Copy link
Contributor Author

vivodi commented Oct 28, 2024

之所以选择锁定依赖再让 dependabot 更新是因为

  1. 不锁定依赖一直使用最新依赖可能会因依赖的更新导致 Docker 映像构建失败或 Docker 映像中的 FlexGet 无法运行。比如,之前的 workflow 一直使用最新的 python,无法即时发现当时的 Dockerfile 无法构建 python 3.13 作为依赖项的 Docker 映像。
  2. 锁定依赖再让 dependabot 更新可以保证总是自动构建使用最新依赖项的 Docker 映像。

@madwind
Copy link
Owner

madwind commented Nov 4, 2024

如果需要自动更新依赖 那就必须要写测试用例了 工作量挺大的

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

No branches or pull requests

2 participants