Skip to content

PYTHON-5952 Update contributor docs and CI triggers to use main branch#2952

Merged
aclark4life merged 3 commits into
mongodb:mainfrom
aclark4life:PYTHON-5952
Jul 23, 2026
Merged

PYTHON-5952 Update contributor docs and CI triggers to use main branch#2952
aclark4life merged 3 commits into
mongodb:mainfrom
aclark4life:PYTHON-5952

Conversation

@aclark4life

@aclark4life aclark4life commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

PYTHON-5952

Changes in this PR

After renaming the default branch master -> main several self-referencing links and CI branch triggers still pointed at master. This PR updates:

  • README.md: codecov badge ?branch=main; contributing-guide link /blob/main/.
  • CONTRIBUTING.md: /tree/main/doc link.
  • doc/index.rst: contributing-guide link /blob/main/.
  • .github/workflows/{test-python,codeql,zizmor,sbom}.yml: push branch triggers changed from master to main.

Test Plan

CI-trigger behavior is exercised when pushes land on main.

Checklist

Checklist for Author

Checklist for Reviewer

  • Does the title of the PR reference a JIRA Ticket?
  • Do you fully understand the implementation? (Would you be comfortable explaining how this code works to someone else?)
  • Is all relevant documentation (README or docstring) updated?

@aclark4life
aclark4life marked this pull request as ready for review July 22, 2026 17:26
@aclark4life
aclark4life requested a review from a team as a code owner July 22, 2026 17:26

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates repository documentation links and GitHub Actions workflow triggers to reflect the default branch rename from master to main, preventing stale self-references and ensuring CI runs on the correct branch.

Changes:

  • Updated self-referencing GitHub links in README.md, CONTRIBUTING.md, and doc/index.rst to use /main/.
  • Updated GitHub Actions push branch filters from master to main across multiple workflows.
  • Updated the Codecov badge to track coverage for the main branch.

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
README.md Updates Codecov badge branch and contributing-guide link to main.
doc/index.rst Updates contributing-guide link to main.
CONTRIBUTING.md Updates documentation source link to /tree/main/doc.
.github/workflows/zizmor.yml Updates push trigger branch filter to main.
.github/workflows/test-python.yml Updates push trigger branch filter to main.
.github/workflows/sbom.yml Updates push trigger branch filter to main.
.github/workflows/codeql.yml Updates push trigger branch filter to main.

Comment thread doc/index.rst Outdated
sleepyStick
sleepyStick previously approved these changes Jul 22, 2026
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@aclark4life
aclark4life merged commit 63955d6 into mongodb:main Jul 23, 2026
86 of 89 checks passed
@aclark4life
aclark4life deleted the PYTHON-5952 branch July 23, 2026 18:02
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.

4 participants