-
Notifications
You must be signed in to change notification settings - Fork 31
Open
Labels
Description
One of the friction points in the adoption of pip-compile-multi, is the lack of support by @dependabot-bot 1, which automates regular updates of the lock files.
The requirements for an update system are:
- Run regularly without an explicit trigger from a developer.
- Allow locking process customization to support hashed dependencies.
- Open a GitHub pull request if any of the lock files changed.
- Be cost-free for open-source projects.
One way of implementing this is by using GitHub Actions.
PoC action definition: https://github.com/peterdemin/pip-compile-multi/blob/master/.github/workflows/pipcompilemulti.yml
Example update PR generated by the GitHub Action: #187
Known problems:
- Pull request is opened on behalf of the user who provided the PAT token, which means that this person won't receive an email notification. The PR will still be shown on the Recent Activity 2 section though.
- Old Pull requests are not automatically closed when the new ones are created. But it's a relatively low effort to manually delete the obsolete PRs.
CC @davidism