Skip to content

Latest commit

 

History

History
45 lines (30 loc) · 1.04 KB

pre-merge-tools.md

File metadata and controls

45 lines (30 loc) · 1.04 KB

Pre-merge tools

We need your help to achieve better code quality and make sure the blueprints stay secure. Before merging your new commit, please set up and run the following tools on your development machine.

  1. git-secrets
# Install (Mac OS)
npm run install-git-secrets-mac

# Install on other platforms: https://github.com/awslabs/git-secrets#installing-git-secrets

# Setup
npm run setup-git-secrets

# Scan history
npm run scan-history-git-secrets

# Scan repository
npm run scan-repo-git-secrets
  1. semgrep
# Install (Mac OS)
npm run install-semgrep-mac

# Install on other platforms: https://github.com/semgrep/semgrep#option-2-getting-started-from-the-cli

# Scan
npm run scan-semgrep
  1. pre-commit
# Install (Mac OS)
npm run install-pre-commit-mac

# Run
npm run run-pre-commit
  1. Optionally, run shellcheck to check for common problems in your shell scripts.