Add workflow to run create-env-files.sh when Dependabot changes dependencies

Open
#1,332 4 comments 0 reactions 1 assignee View on GitHub

@rosspeili is already working on this.

Since Jul 16, 2026.

  • #1420 by @rosspeili — open

Assessment

This issue has not been assessed yet.

Description

a: devops e: experienced
Is your feature request related to a use case or problem?

Currently, Dependabot informs us when there are updates to Python dependencies. However, Dependabot is not sophisticated enough to run dev_utils/requirements/create-env-files.sh.

What solution or approach do you envision?

If Dependabot doesn't support the definition of an explicit command to run, we will probably have to write a GitHub Actions workflow to do it. The workflow should not automatically update dependencies; instead, it should do it under human control. One possibility may be to have it detect merge events of Dependabot PRs to certain files; since PR merges are initiated by maintainers, this may be a sufficient signal to indicate that pip-compile should be re-run.

How urgent is this for you?

P2 – not urgent, but worth doing eventually

Dominant language
Python
Stars
1.7k
Forks
438
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from quantumlib/OpenFermion

All issues in quantumlib/OpenFermion

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.