Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,11 @@ jobs:
poetry run poe linters
poetry run poe test
poetry build
semgrep:
timeout-minutes: 20
runs-on: ubuntu-24.04
container:
image: semgrep/semgrep:1.138.0
steps:
- uses: actions/checkout@v5
- run: tools/semgrep
1 change: 1 addition & 0 deletions .mergify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ queue_rules:
- check-success=Test with Python 3.10
- check-success=Test with Python 3.11
- check-success=Test with Python 3.12
- check-success = semgrep
- "#approved-reviews-by>=1"
- "#changes-requested-reviews-by=0"
- "#review-threads-unresolved=0"
Expand Down
2 changes: 1 addition & 1 deletion poe.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ sequence = ["ruff check .", "ruff format --check .", "deptry .", "mypy"]
[tool.poe.tasks.semgrep]
deps = ["setup"]
help = "Run SAST tools"
cmd = "semgrep --config=auto --error --timeout=15"
cmd = "tools/semgrep"

[tool.poe.tasks.test]
deps = ["setup"]
Expand Down
Loading