Skip to content

ci(NODE-7721): update & pin GitHub Actions to commit SHAs - #5126

Merged
PavelSafronov merged 1 commit into
mainfrom
chore/pin-actions-to-sha
Nov 16, 2026
Merged

PavelSafronov merged 1 commit into
mainfrom
chore/pin-actions-to-sha

Conversation

@tadjik1

@tadjik1 tadjik1 commented Nov 16, 2026 •

Copy link
Copy Markdown
Member

Description

Summary of Changes

Update & pin GH actions to SHAs.

Double check the following

  • Lint is passing (npm run check:lint)
  • Self-review completed using the steps outlined here
  • PR title follows the correct format: type(NODE-xxxx)[!]: description
    • Example: feat(NODE-1234)!: rewriting everything in coffeescript
  • Changes are covered by tests
  • New TODOs have a related JIRA ticket

@tadjik1
tadjik1 marked this pull request as ready for review November 16, 2026 14:43
@tadjik1
tadjik1 requested a review from a team as a code owner November 16, 2026 14:43
Copilot AI balanced review requested due to automatic review settings November 16, 2026 14:43

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

No active review issues block the GitHub Actions SHA-pinning changes.

No open issues 🎉

What changed in this PR

This PR pins GitHub Actions to commit SHAs across the MongoDB Node.js driver’s CI and release workflows, reducing reliance on mutable version tags.

Changes:

  • Replace floating action tags with commit SHAs and readable version comments.
  • Upgrade the documentation action’s Node setup from v2 to v3.1.1.
  • Remove the Dependabot ignore rule so pinned CodeQL actions can receive updates.
File Description
.github/​workflows/​sbom.yml Pin checkout and Node setup for SBOM generation.
.github/​workflows/​release.yml Pin release, signing, reporting, and upload actions.
.github/​workflows/​release-nightly.yml Pin checkout and Node setup for nightly releases.
.github/​workflows/​release-alpha.yml Pin checkout for alpha releases.
.github/​workflows/​release-5.x.yml Pin actions supporting 5.x releases and publishing.
.github/​workflows/​release_notes.yml Pin checkout and Node setup for release notes.
.github/​workflows/​npm-publish.yml Pin checkout and Node setup for npm publishing.
.github/​workflows/​dependencies.yml Pin actions used by dependency checks.
.github/​workflows/​codeql.yml Pin checkout and CodeQL initialization and analysis.
.github/​workflows/​build_docs.yml Pin checkout for documentation builds.
.github/​workflows/​build_and_commit_docs.yml Pin checkout and documentation pull request creation.
.github/​dependabot.yml Allow CodeQL updates by removing the ignore rule.
.github/​actions/​build_documentation/​action.yml Upgrade and pin the shared Node setup action.

Review effort: Balanced

Comment thread .github/dependabot.yml Resolved

@PavelSafronov PavelSafronov 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.

Changes look good, approving.

@PavelSafronov PavelSafronov self-assigned this Nov 16, 2026
@PavelSafronov PavelSafronov added the Primary Review In Review with primary reviewer, not yet ready for team's eyes label Nov 16, 2026
@PavelSafronov
PavelSafronov merged commit 02d1f62 into main Nov 16, 2026
39 of 41 checks passed
@PavelSafronov
PavelSafronov deleted the chore/pin-actions-to-sha branch November 16, 2026 18:52
@seanrmilligan seanrmilligan changed the title ci(NODE-7901): update & pin GitHub Actions to commit SHAs ci(NODE-7721): update & pin GitHub Actions to commit SHAs Nov 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Primary Review In Review with primary reviewer, not yet ready for team's eyes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants