Skip to content

Commit 61f2962

Browse files
nvuillammegalinter-bot
authored andcommitted
[MegaLinter] Apply linters fixes
1 parent 6cd9664 commit 61f2962

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/descriptors/repository_gitleaks.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,18 +34,18 @@ If MegaLinter with gitleaks runs against a PR on a platform not listed above, an
3434

3535
You can still choose to scan only PR commits in your CI/CD platform by setting the following MegaLinter environment variables:
3636

37-
- `PULL_REQUEST=true`\*
38-
- `REPOSITORY_GITLEAKS_PR_COMMITS_SCAN: true`
39-
- `REPOSITORY_GITLEAKS_PR_SOURCE_SHA` with last commit sha from your PR and `REPOSITORY_GITLEAKS_PR_TARGET_SHA` commit sha from your target branch (for example, `main` if you do PR to main branch)
37+
- `PULL_REQUEST=true`\*
38+
- `REPOSITORY_GITLEAKS_PR_COMMITS_SCAN: true`
39+
- `REPOSITORY_GITLEAKS_PR_SOURCE_SHA` with last commit sha from your PR and `REPOSITORY_GITLEAKS_PR_TARGET_SHA` commit sha from your target branch (for example, `main` if you do PR to main branch)
4040

4141
Example commands:
4242

43-
- Source commit SHA:
43+
- Source commit SHA:
4444
```bash
4545
git rev-list -n 1 refs/remotes/origin/<source_branch>
4646
```
4747

48-
- Target commit SHA:
48+
- Target commit SHA:
4949
```bash
5050
git rev-parse refs/remotes/origin/<target_branch>
5151
```

0 commit comments

Comments
 (0)