renovate runs four times an hour and deletes its runs that moved nothing #96
Loading…
Reference in a new issue
No description provided.
Delete branch "renovate-quarter-hourly"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The renovate workflow runs four times an hour, and each run deletes the earlier scheduled runs that moved nothing, so the list of runs keeps the ones that cut a release, the failed ones and the latest.
How it tells them apart: a run that pins pushes a commit by forgejo-actions on the commit it started from, and no later run starts on that commit.
.forgejo/prune-renovate-runs.shkeeps the newest run on each such commit and deletes every other successful scheduled run. Runs started by hand and failed runs are kept.Verified: the script dry-run against this repository's real runs, and one deletion through the API by hand (204). Not verified: that the Authorized Integration behind
RENOVATE_AUDIENCEmay list and delete runs. If it may not, the new step fails after the push, so a pin still lands and the run shows red.