If your Elixir project lives on GitHub (public or private), there’s a new GitHub Action that might be worth adding to your CI setup: erlef/mix-dependency-submission
This Action extracts your dependencies from your mix.exs / mix.lock and submits them to GitHub’s Dependency Submission API. That unlocks several useful GitHub features:
Dependabot alerts and security updates — including transitive deps
Full dependency graph visibility — even without lockfiles
Dependency Review — see what changed in PRs
Helps with auditing and compliance for third-party packages
The Action was built as part of the Erlang Ecosystem Foundation’s ongoing efforts to support the BEAM community’s tooling and security story. Feedback and adoption are super appreciated — especially if you’re managing multiple projects or teams.
Let me know if you try it out or run into any issues!
@maennchen This is great and such perfect timing for us. We’ve been ramping up lots of security practices across all our repos and this helps get us one step closer to looking as shiny as the other natively support languages!
Question: When a project is meant to augment Phoenix, it will have Phoenix as dependency. Does than mean it will receive dependabots alerts for transitive deps too?
I see I can not set or set install-deps to false, but then transitive deps (from other deps) are not checked too.
Generally you will receive warnings for all your dependencies including transitive ones.
Depending on the project there will be no mix.lock file (like most libraries) checked in. Also some dependencies like git based ones do not record detailed information about their own deps in the mix.lock.
In those cases, the tool doesn’t know an exact picture about the dependency tree.
With install-deps you will fetch everything and therefore will have a perfect representation about all that.
I haven’t seen it explicitly specified anywhere, but if you use this GitHub Action to populate your dependency graph and you want to use that for Dependabot then you want to use package-ecosystem: "github-actions" in your dependabot.yml
I believe you’re slightly wrong with this. The github-actions ecosystem does updates on your GitHub Action workflows and has nothing to do with this action.
I’ve added the mix-dependency-submission action to an existing project. It adds the mix dependencies to the dependency graph, as expected. Very nice!
Is the set of ecosystems that you can filter in GitHub restricted? I can’t seem to filter only the mix dependencies. They only appear when selecting the “other” option (or when no filter is selected).