Skip to content

Commit 3daf817

Browse files
nvuillammegalinter-bot
authored andcommitted
[MegaLinter] Apply linters fixes
1 parent 208f6d7 commit 3daf817

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
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
```

docs/descriptors/terraform_terrascan.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ description: How to use terrascan (configure, ignore files, ignore errors, help
1515

1616
> This linter has been deprecated.
1717
>
18-
> Repo archived. https://github.com/tenable/terrascan
18+
> Repo archived. <https://github.com/tenable/terrascan>
1919
>
2020
> You should disable terrascan by adding it in DISABLE_LINTERS property.
2121
>

0 commit comments

Comments
 (0)