Skip to content

Commit

Permalink
fix: run on push and pull request
Browse files Browse the repository at this point in the history
  • Loading branch information
cohow committed Sep 17, 2024
1 parent 48069c5 commit 820f9fa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/run-semgrep.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: Run Semgrep

on:
pull_request: {}
workflow_dispatch: {}
push:
workflow_dispatch:

jobs:
semgrep:
Expand All @@ -23,7 +23,7 @@ jobs:
repository: decurity/semgrep-smart-contracts
path: rules

- run: semgrep scan --sarif --output=semgrep.sarif packages/contracts/src/dollar || true
- run: semgrep ci --sarif --output=semgrep.sarif --include packages/contracts/src/dollar || true
env:
SEMGREP_RULES: rules/solidity/security rules/solidity/performance

Expand Down

0 comments on commit 820f9fa

Please sign in to comment.