Code security guides

Learn about the different ways that GitHub can help you improve your code's security.

Code security learning paths

Keep your dependencies up-to-date

Use Dependabot to check for new releases and create pull requests to update your dependencies.

Scan for secrets

Set up secret scanning to guard against accidental check-ins of tokens, passwords, and other secrets to your repository.

Run code scanning with GitHub Actions

Check your default branch and every pull request to keep vulnerabilities and errors out of your repository.


All Code security guides

57 guides found

Did this doc help you?

Privacy policy

Help us make these docs great!

All GitHub docs are open source. See something that's wrong or unclear? Submit a pull request.

Make a contribution

Or, learn how to contribute.