Repository navigation
feat(pins): add a pin-refresh action that bumps and merges itself - #24
Merged
Merged
Conversation
A family release left every other repository naming the release before it, and the locks moved by hand. actions/pin-refresh runs version-pins refresh and write, moves Homebrew formulas with their sha256, opens a pull request, runs the repository's CI on it and merges when every run is green. version-pins gains a formulas mode, a non-writable check of formula sdist urls, and a one-release, one-day grace in the registry check so the bump has time to land before the check turns red. Signed-off-by: Sankalp Gilda <23521054+astrogilda@users.noreply.github.com>
Signed-off-by: Sankalp Gilda <23521054+astrogilda@users.noreply.github.com>
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.
Adds actions/pin-refresh and scripts/pin-refresh.py: after a family release, and hourly as a backstop, a repository moves its family lock, the pages it holds and any Homebrew formula to the newest releases, opens a pull request, runs its own CI on that branch and merges when every run is green. History stays put: the rewrite reads the same exemptions as the check ([scan] historical, version-pins: keep, off/on), and workflow files are left to Dependabot.
version-pins.py gains a formulas mode (url and sha256 from PyPI; brew update-python-resources regenerates the resources), a check of formula sdist urls that write never edits, and a GRACE verdict in registry: a lock may lag one release for one day, the window the bump needs. Two releases behind, or one release older than a day, is still SHORT. This repository gets its own pin-refresh.yml, and profile.yml runs scripts/pin-refresh-test.py (7 cases) beside six new cases in scripts/version-pins-test.py.