Repository navigation
ci(NODE-7721): update & pin GitHub Actions to commit SHAs - #5126
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
🟢 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
tadjik1
commented
Nov 16, 2026
PavelSafronov
approved these changes
Nov 16, 2026
PavelSafronov
left a comment
Contributor
There was a problem hiding this comment.
Changes look good, approving.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Summary of Changes
Update & pin GH actions to SHAs.
Double check the following
npm run check:lint)type(NODE-xxxx)[!]: descriptionfeat(NODE-1234)!: rewriting everything in coffeescript