Skip to content

Latest commit

 

History

History
32 lines (20 loc) · 983 Bytes

CONTRIBUTING.md

File metadata and controls

32 lines (20 loc) · 983 Bytes

Contributing to this repository

This repository provides shared GitHub Actions for MongoDB drivers.

Opinionated actions for each driver should go in their own folder.

Linting

This repo uses pre-commit for managing linting. pre-commit performs various checks on the files and uses tools that help follow a consistent style within the repo.

To set up pre-commit locally, run:

brew install pre-commit
pre-commit install

To run pre-commit manually, run pre-commit run --all-files.

To run a manual hook like shellcheck manually, run:

pre-commit run --all-files --hook-stage manual shellcheck

Version Tag

To bump the version tag, run the "Update Tag" workflow.

To change the major version, update .github/workflows/version.txt and all references to mongodb-labs/drivers-github-tools in the repo.