Skip to content

Commit 3dd0f39

Browse files
aabedrabamichpappas
authored andcommitted
feat: Add context7 configuration file
Signed-off-by: aabedraba <abdallah@unikraft.com>
1 parent bde6224 commit 3dd0f39

3 files changed

Lines changed: 20 additions & 0 deletions

File tree

‎.github/workflows/.gitleaks.toml‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
title = "gitleaks config"
2+
3+
[extend]
4+
useDefault = true
5+
6+
# Context7 uses a public key to prove that we own the repository and the
7+
# website. The key must be public, so it is not a leak.
8+
[allowlist]
9+
description = "Context7 public keys"
10+
regexes = [
11+
'''pk_[A-Za-z0-9]+''',
12+
]

‎context7.json‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"url": "https://context7.com/unikraft/docs",
3+
"public_key": "pk_sGpFFXzwa26AbVel5uj4x"
4+
}

‎public/context7.json‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"url": "https://context7.com/websites/unikraft",
3+
"public_key": "pk_sGpFFXzwa26AbVel5uj4x"
4+
}

0 commit comments

Comments
 (0)