Skip to content

Commit

Permalink
feat: run slither matrix job only if pkg was modified
Browse files Browse the repository at this point in the history
  • Loading branch information
sripwoud committed Jun 25, 2024
1 parent 235e315 commit f212cdf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,8 @@ jobs:
workspace=$(jq -r '.name' packages/${{ matrix.dir }}/package.json)
yarn workspace "$workspace" run compile
- name: Run slither
- if: contains(needs.get-changed-files.outputs.modified_files, ${{ matrix.dir }})
name: Run slither
uses: crytic/[email protected]
id: slither
with:
Expand Down

0 comments on commit f212cdf

Please sign in to comment.