Skip to content

Commit f87512b

Browse files
committed
Fix SDK CI secret scan and benchmark deps
1 parent 8cf50a6 commit f87512b

2 files changed

Lines changed: 12 additions & 4 deletions

File tree

.github/workflows/secret-scan.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,14 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- uses: actions/checkout@v4
15-
- uses: gitleaks/gitleaks-action@v2
16-
env:
17-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
15+
with:
16+
fetch-depth: 0
17+
- name: Install gitleaks
18+
run: |
19+
set -euo pipefail
20+
VERSION=8.28.0
21+
curl -sSfL "https://github.com/gitleaks/gitleaks/releases/download/v${VERSION}/gitleaks_${VERSION}_linux_x64.tar.gz" \
22+
| tar -xz
23+
sudo install gitleaks /usr/local/bin/gitleaks
24+
- name: Run gitleaks
25+
run: gitleaks git . --redact --no-banner --exit-code 1 --verbose

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Issues = "https://github.com/FishCodeTech/zero-context-protocol-python/issues"
2121
[project.optional-dependencies]
2222
mcp = ["mcp>=1.3.0"]
2323
openai = ["openai>=1.0.0"]
24-
dev = ["pytest>=8.0.0", "ruff>=0.11.0", "build>=1.2.2", "twine>=5.1.1"]
24+
dev = ["pytest>=8.0.0", "ruff>=0.11.0", "build>=1.2.2", "twine>=5.1.1", "openpyxl>=3.1.5"]
2525

2626
[tool.setuptools]
2727
package-dir = {"" = "src"}

0 commit comments

Comments
 (0)