Is there a workaround to integrate Hugo modules with GitHub Dependabot?

Hi, there are a lot of Hugo modules inside my repo, I would like to check and update the deps by Dependabot, but it will execute go mod tidy instead of hugo mod tidy, which remove all Hugo required modules.

version: 2
updates:
  - package-ecosystem: "gomod"
    directory: "/modules/meta/recommended"
    schedule:
      interval: "daily"
    allow:
      - dependency-type: "all"

For example: chore(deps): bump github.com/razonyang/hb/modules/meta/standard from 0.1.0 to 0.2.0 in /modules/meta/recommended by dependabot · Pull Request #210 · razonyang/hb · GitHub

Is there any workaround or alternative for Hugo modules to check latest dependencies?

I found an alternative called Renovate and set it up for my modules and modular sites, works great up to now.
Here is the guide to configure Renovate.

I created feature requests for Hugo modules as well, you could vote and subscribe that topic on GitHub if you’re interested in.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.