Skip to content

WIL-239: rename the default branch from master to main - #94

Merged
wilsonfreitas merged 1 commit into
mainfrom
wil-239-rename-master-to-main
Nov 8, 2026
Merged

wilsonfreitas merged 1 commit into
mainfrom
wil-239-rename-master-to-main

Conversation

@wilsonfreitas

Copy link
Copy Markdown
Owner

The default branch was renamed from master to main on GitHub (Linear WIL-239). The ruleset now protects refs/heads/main.

This PR updates what still says master:

  • pytest.yml, sphinx.yml: push and PR triggers on main. The feature/typing PR trigger is gone, because that branch was merged and deleted.
  • sphinx.yml: the docs deploy runs on pushes to refs/heads/main.
  • release.yml: "Final releases must be on main" (git merge-base --is-ancestor HEAD origin/main).
  • tests/test_release_workflow.py, tests/test_docs_examples.py: pinned values.
  • CHANGELOG links in the README, docs and pyproject.toml (blob/main), and CONTRIBUTING.

Not changed: CHANGELOG.md history, a dated note in tests/test_calendar_data.py, and the Sphinx docs URL in conf.py.

Local checks: uv run pytest -q tests (1219 passed), uv run ruff check ..

🤖 Generated with Claude Code

Update the workflow triggers, the docs deploy condition and the release
check ("Final releases must be on main"), the tests that pin them, the
CHANGELOG links and CONTRIBUTING. Drop the feature/typing PR trigger:
that branch was merged and deleted.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@wilsonfreitas
wilsonfreitas merged commit fd6e87d into main Nov 8, 2026
13 checks passed
@wilsonfreitas
wilsonfreitas deleted the wil-239-rename-master-to-main branch November 8, 2026 21:22
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