Skip to content

PYTHON-6075 Pin exact drivers-github-tools versions ahead of v4 - #3048

Merged
aclark4life merged 2 commits into
mongodb:mainfrom
aclark4life:PYTHON-6075
Sep 11, 2026
Merged

aclark4life merged 2 commits into
mongodb:mainfrom
aclark4life:PYTHON-6075

Conversation

@aclark4life

@aclark4life aclark4life commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

PYTHON-6075

Changes in this PR

drivers-github-tools now cuts immutable, versioned releases (e.g. v3.0.4) instead of only moving a floating major-version tag.

All 18 mongodb-labs/drivers-github-tools/* references now pin to 1a2d86bd5fed4b0090453bcd510e4c2ba3b92356 # v3.0.4:

  • 7 were on @v3
  • 9 were on d518d2c

.github/zizmor.yml tightens the mongodb-labs/drivers-github-tools/* policy from ref-pin to hash-pin so this can't regress.

Test Plan

No unit tests. This is a CI configuration change with no runtime code affected.

Checklist

Checklist for Author

  • Did you update the changelog (if necessary)? Not necessary — CI-only change, no user-facing behavior.
  • Is there test coverage? N/A — CI configuration only; validated as described above.
  • Is any followup work tracked in a JIRA ticket? If so, add link(s). mongo-arrow, django-mongodb-backend, and django-mongodb-extensions each still have floating @v3 refs; tracked under DRIVERS-3633.

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 September 10, 2026 17:05
@aclark4life
aclark4life requested a review from a team as a code owner September 10, 2026 17:05
@aclark4life
aclark4life requested review from sleepyStick and a lite review from Copilot September 10, 2026 17:05

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.

🟢 Approval recommended

The changes consistently pin the intended actions to a single immutable SHA and update zizmor policy accordingly, with no functional workflow logic changes introduced.

Pull request overview

Pins all mongodb-labs/drivers-github-tools/* GitHub Actions usages in this repo to an immutable commit SHA (annotated as v3.0.4) to improve CI supply-chain safety ahead of the v4 release process, and tightens zizmor policy to prevent regressions.

Changes:

  • Updated all drivers-github-tools action references to @1a2d86bd5fed4b0090453bcd510e4c2ba3b92356 # v3.0.4.
  • Tightened .github/zizmor.yml policy for mongodb-labs/drivers-github-tools/* from ref-pin to hash-pin.
File summaries
File Description
.github/zizmor.yml Enforces hash pinning for mongodb-labs/drivers-github-tools/* to prevent floating refs.
.github/workflows/uv-lock-update.yml Pins the uv-lock-update reusable action to the v3.0.4 commit SHA.
.github/workflows/test-python.yml Pins the shared Python tooling setup action to the v3.0.4 commit SHA across all jobs.
.github/workflows/release-python.yml Pins release pipeline actions (secure-checkout, setup, pre/post-publish) to the v3.0.4 commit SHA.
.github/workflows/create-release-branch.yml Pins release-branch automation actions (setup, create-branch) to the v3.0.4 commit SHA.
.github/workflows/codeql.yml Pins the CodeQL helper action to the v3.0.4 commit SHA.
Review details
  • Files reviewed: 6/6 changed files
  • Comments generated: 0
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@codecov

codecov Bot commented Sep 10, 2026

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 5feaee4 into mongodb:main Sep 11, 2026
31 of 33 checks passed
@aclark4life
aclark4life deleted the PYTHON-6075 branch September 11, 2026 22:46
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.

3 participants