-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dev: github megalinter workflow configs
- gitleaks - lychee
- Loading branch information
1 parent
1b13e6d
commit ff7a63c
Showing
2 changed files
with
47 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
title = "gitleaks config" | ||
|
||
[allowlist] | ||
description = "global allow lists" | ||
paths = [ | ||
'''gitleaks.toml''', | ||
'''(.*?)(jpg|gif|doc|docx|zip|xls|pdf|bin|svg|socket)$''', | ||
'''(go.mod|go.sum)$''', | ||
'''gradle.lockfile''', | ||
'''node_modules''', | ||
'''package-lock.json''', | ||
'''pnpm-lock.yaml''', | ||
'''Database.refactorlog''', | ||
'''vendor''', | ||
] | ||
|
||
[[rules]] | ||
description = "AWS Example API Key" | ||
id = "aws-example-api-key" | ||
regex = '''AKIAIOSFODNN7EXAMPLE''' | ||
keywords = [ | ||
"awstoken", | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
|
||
# ---------------------------------------- | ||
# Base URL or website root directory to check relative URLs. | ||
base = "https://practical.li/" | ||
|
||
# Only test links with the given schemes (e.g. https). | ||
# Omit to check links with any other scheme. | ||
# At the moment, we support http, https, file, and mailto. | ||
scheme = ["https"] | ||
|
||
# ---------------------------------------- | ||
# Exclusions | ||
|
||
# Exclude URLs and mail addresses from checking (supports regex). | ||
# exclude = ['^https://www\.linkedin\.com', '^https://web\.archive\.org/web/'] | ||
|
||
# Exclude all private IPs from checking. | ||
# Equivalent to setting `exclude_private`, `exclude_link_local`, and | ||
# `exclude_loopback` to true. | ||
exclude_all_private = false | ||
|
||
# Check mail addresses | ||
include_mail = false | ||
# ---------------------------------------- |