Skip to content

Commit 6b47265

Browse files
dev: additional CI configurations to check repository
1 parent e5bccf4 commit 6b47265

File tree

2 files changed

+50
-0
lines changed

2 files changed

+50
-0
lines changed

.github/config/gitleaks.toml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
title = "gitleaks config"
2+
3+
[allowlist]
4+
description = "global allow lists"
5+
paths = [
6+
'''gitleaks.toml''',
7+
'''(.*?)(jpg|gif|doc|docx|zip|xls|pdf|bin|svg|socket)$''',
8+
'''(go.mod|go.sum)$''',
9+
'''gradle.lockfile''',
10+
'''node_modules''',
11+
'''package-lock.json''',
12+
'''pnpm-lock.yaml''',
13+
'''Database.refactorlog''',
14+
'''vendor''',
15+
]
16+
17+
[[rules]]
18+
description = "AWS Example API Key"
19+
id = "aws-example-api-key"
20+
regex = '''AKIAIOSFODNN7EXAMPLE'''
21+
keywords = [
22+
"awstoken",
23+
]

.github/config/lychee.toml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
2+
# ----------------------------------------
3+
# Base URL or website root directory to check relative URLs.
4+
base = "https://practical.li/clojure-web-services"
5+
6+
# Only test links with the given schemes (e.g. https).
7+
# Omit to check links with any other scheme.
8+
# At the moment, we support http, https, file, and mailto.
9+
scheme = ["https"]
10+
11+
# ----------------------------------------
12+
# Exclusions
13+
14+
# Exclude URLs and mail addresses from checking (supports regex).
15+
exclude = ['^https://127.0.0.0', '^https://www\.linkedin\.com', '^https://web\.archive\.org/web/']
16+
17+
# Exclude these filesystem paths from getting checked.
18+
exclude_path = ["mkdocs.yml", "overrides", "includes", ".github", ".git"]
19+
20+
# Exclude all private IPs from checking.
21+
# Equivalent to setting `exclude_private`, `exclude_link_local`, and
22+
# `exclude_loopback` to true.
23+
exclude_all_private = true
24+
25+
# Check mail addresses
26+
include_mail = false
27+
# ----------------------------------------

0 commit comments

Comments
 (0)