This branch adds a github action to automatically update cookiecutter dependencies from pypi and node. There are dependency files here that are already updated, and you can see the process that did that in the Actions tab. We're using pip-upgrader and npm-check-updates to update the dependency files, and then committing/pushing the result.
At time of writing it's scheduled to run every Sunday at 5:30 UTC, but I can definitely change this.
The only file that hasn't been updated is the requirements.txt in the new-wagtail-app directory. This was intentional so we could have a clearly outdated file to test with.
Handles #354
Notes
After this pr is approved, I'll just have to change the branch the action is pushing to, to main.
I was able to test the update locally and here when this branch got a push event. Evidence of that is in the workflow in the Actions tab and also the commit here titled "Update pypi and node dependencies". However, the github docs on scheduled jobs say that cron tasks only work on the default branch, so I don't think we'll be able to test that until this gets merged.
Testing Instructions
Checkout this branch and add a push event to main.yml:
Overview
This branch adds a github action to automatically update cookiecutter dependencies from pypi and node. There are dependency files here that are already updated, and you can see the process that did that in the Actions tab. We're using
pip-upgrader
andnpm-check-updates
to update the dependency files, and then committing/pushing the result.At time of writing it's scheduled to run every Sunday at 5:30 UTC, but I can definitely change this.
The only file that hasn't been updated is the
requirements.txt
in thenew-wagtail-app
directory. This was intentional so we could have a clearly outdated file to test with.Notes
After this pr is approved, I'll just have to change the branch the action is pushing to, to
main
.I was able to test the update locally and here when this branch got a push event. Evidence of that is in the workflow in the Actions tab and also the commit here titled "Update pypi and node dependencies". However, the github docs on scheduled jobs say that cron tasks only work on the default branch, so I don't think we'll be able to test that until this gets merged.
Testing Instructions
requirements.txt
updated on github