Skip to content

mirror: point each drop-in repo's default branch at its latest version - #134

Merged
rebrowsernet merged 1 commit into
mainfrom
mirror-default-branch
Oct 18, 2026
Merged

rebrowsernet merged 1 commit into
mainfrom
mirror-default-branch

Conversation

@rebrowsernet

Copy link
Copy Markdown
Collaborator

After each release, release/mirror.mjs now points every drop-in repo's default branch at its highest version branch, so the repo page opens on the latest release. Today rebrowser-playwright-python defaults to 1.49.0, and the four npm drop-ins default to a README-only main from 2024.

  • Never moves the default backwards when an older release is mirrored.
  • Needs Administration: write on the token (and an admin role for its account). Without it, the mirror still succeeds and prints a warning with the catch-up command.
  • --default-branch-only runs just this step; --no-default-branch skips it.

Dry run today: main -> 25.14.100 (puppeteer, puppeteer-core), main -> 1.64.100 (playwright, playwright-core), 1.49.0 -> 1.64.100 (playwright-python).

After pushing the per-version branches, set each repo's default branch to its highest version branch,
so github.com/rebrowser/rebrowser-<name> opens on the latest release instead of a stale branch
(rebrowser-playwright-python was on 1.49.0; the npm drop-ins on a 2024 README-only main). It never
moves backwards when an older release is mirrored. Needs "Administration: write" on the token and an
admin role for its account; without them the mirror still succeeds and prints a warning.
--default-branch-only runs just this step; --no-default-branch skips it.
@rebrowsernet
rebrowsernet merged commit 32c8d96 into main Oct 18, 2026
1 check passed
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.

2 participants