Skip to content

Add workflow to run pip-compile when dependencies change #1332

@mhucka

Description

@mhucka

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/re-pip-compile-in-docker.sh. It should be possible to establish a workflow that does this.

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?

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/devopsInvolves build systems, Make files, Bazel files, continuous integration, and or other DevOps topics
    No fields configured for Enhancement.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions