How to protect your repo in 2 minutes with gh-secure
GitHub highlights gh-secure (from the GitHub Security Lab) as a quick way to improve repository security hygiene and reduce the risk of accidentally committing secrets to public code.
Overview
- Goal: help developers avoid leaking secrets into public repositories.
- Core idea: “just one command” to apply essential repo security hygiene.
- How to use:
- Install and run it via the Copilot app
- Use it from Copilot CLI
- Use it from GitHub CLI