Add a bump bot that opens update pull requests for recipes (#30)
A daily workflow compares each recipe with its upstream's newest stable release and opens one pull request when the image for it is published: version, image tag and multi-arch digest only. bump/track.yml holds where each project releases and how its image tag follows the version; it lives outside cottage.yml because Hearth reads that file strictly. Patch and minor releases wait 3 days, majors 14. A guard check fails a bump branch that changes anything else, and 'scripts/bump.py audit' shows how far behind each recipe is.
This commit is contained in:
1 parent
ad8148af74
commit
5796d0eebb
5 files changed
+770
No files matched your search
@@ -126,3 +126,13 @@ Open an issue or a pull request. Please don't include secrets, real credentials
|
||||
|
||||
[Apache-2.0](LICENSE). The apps themselves keep their own licences (listed in each `cottage.yml`),
|
||||
and their names and logos belong to their projects.
|
||||
|
||||
## Automatic updates
|
||||
|
||||
A daily workflow (`.github/workflows/bump.yml`, `scripts/bump.py`) opens one pull request for each
|
||||
recipe whose upstream has published a newer stable release and a matching image. `bump/track.yml`
|
||||
says where each project publishes releases and how its image tag is built from the version; a recipe
|
||||
marked `manual` there is reported but never changed. The bot waits 3 days after a patch or minor
|
||||
release (14 for a major) and bumps only the first image, never the database or cache beside it.
|
||||
Bump branches may only change versions, image tags and digests: the "Bump guard" check fails
|
||||
anything else. Run `scripts/bump.py audit` to see how far behind each recipe is.
|
||||
Reference in new issue
Block a user