Skip to content

Fix mirroring - #55

Merged
cassidyjames merged 1 commit into
mainfrom
mirror-release
Oct 10, 2026
Merged

cassidyjames merged 1 commit into
mainfrom
mirror-release

Conversation

@cassidyjames

Copy link
Copy Markdown
Owner

The mirror workflow hadn't run since September 26: GitHub disabled it for inactivity because of the hourly schedule, and a disabled workflow doesn't run on pushes either. I've re-enabled it, and this makes sure it stays that way while bringing it in line with Butler.

  • Drop the hourly schedule, since pushes to main and releases cover it
  • Mirror on published releases so new tags show up right away
  • Check out the default branch, since release events otherwise check out the tag with no local branches and the mirror's --prune would try to delete main (which is what's been breaking Butler's release mirroring)

Release events check out the tag with no local branches, so the
mirror's prune would try to delete main on GitLab and the push would
fail. Check out the default branch instead, and mirror on published
releases so new tags arrive right away.

Also drops the hourly schedule, which got the workflow disabled for
inactivity.
@cassidyjames
cassidyjames merged commit 51464a3 into main Oct 10, 2026
2 checks passed
@cassidyjames
cassidyjames deleted the mirror-release branch October 10, 2026 08:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant