Repository navigation
Release every 4 weeks and auto-merge Renovate updates - #2
Open
chrapkowski-sg wants to merge 2 commits into
Open
chrapkowski-sg wants to merge 2 commits into
chrapkowski-sg wants to merge 2 commits into
Conversation
The Docker image only picks up nixpkgs security fixes when someone cuts a release. A scheduled workflow now runs every Monday and, in every fourth week after 2026-11-23 (the date the other SCIP indexers use), calls the release workflow with the next patch version. It skips the release when main already has a published release, since the Nix build gives the same image, and fails when CI did not pass on main. The release workflow can now be rerun after a later job failed: it reuses its own tag and draft release. A scheduled run on a commit whose release was left unfinished finishes it instead of bumping the version again.
Renovate auto-merged every update, including major ones, but never the weekly flake.lock refresh, which is how nixpkgs fixes reach the image. Now non-major updates and lock file maintenance merge once CI passes, while major updates, NixOS release upgrades, and pyrefly and uv bumps wait for review. GitHub Actions updates are grouped into one PR, and Renovate runs on Monday mornings (Europe/Warsaw). CI now builds and smoke-tests the Docker image on ARM64 as well, since releases publish both architectures and a lock update could break only one of them.
Author
|
This change is part of the following stack: Change managed by git-spice. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The Docker image only picks up nixpkgs security fixes when someone runs the release workflow, and Renovate never merges the weekly flake.lock refresh that brings those fixes in. Now lock file maintenance auto-merges once CI passes, and a scheduled workflow releases the next patch version every 4 weeks from 2026-11-23 (the same Mondays as the other SCIP indexers) by calling release.yml. There's no version file to bump, so there's no release PR either. The workflow skips the release when main already has a published release, since the Nix build would give the same image. A release that failed partway is finished by rerunning either workflow, since release.yml now reuses its own tag and draft. The workflow fails if CI didn't pass on main, because main has no branch protection.
Auto-merge now covers non-major updates and lock file maintenance. Majors, NixOS release upgrades (Renovate counts nixos-26.05 → 26.11 as minor), and pyrefly and uv bumps still need review. CI now builds and smoke-tests the image on both amd64 and arm64, since releases publish both and a lock update could break only one. It indexes flask, requests and httpx, but only checks that the index isn't trivially small, so it wouldn't catch a pyrefly bump that makes the index worse. CI never runs release.yml, so a bad docker/login-action bump would first fail at release time.