Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/extensions/pre-commit.md.template.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@ repos:

## `pre-commit` with your Semgrep AppSec Platform configuration

You can also run custom rules and rulesets from Semgrep AppSec Platform, similar to running `semgrep ci`.
You can also run custom rules and rulesets from Semgrep AppSec Platform, similar to running `semgrep ci`.

Ensure that you are logged in:

<Steps>
<Step>
og in to your Semgrep account. Running this command launches a browser window, but you can also use the link that's returned in the CLI to proceed:
Log in to your Semgrep account. Running this command launches a browser window, but you can also use the link that's returned in the CLI to proceed:

```bash
semgrep login
Expand All @@ -53,7 +53,7 @@ repos:
- repo: https://github.com/semgrep/pre-commit
rev: 'SEMGREP_VERSION_LATEST'
hooks:
- id: semgrep-ci
- id: semgrep-ci
```

For guidance on customizing Semgrep's behavior in pre-commit, see [Customize Semgrep in pre-commit](/kb/integrations/customize-semgrep-precommit).
Loading