Skip to content

Commit

Permalink
Update static-analysis.yml (#3480)
Browse files Browse the repository at this point in the history
### Description

- Updates slither static analysis to run on main for use with github
code scanning
  • Loading branch information
yorhodes authored Mar 26, 2024
1 parent 3b52064 commit ba6ab2c
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/static-analysis.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
name: static-analysis

on:
# Triggers the workflow on pull request against main
pull_request:
push:
# Triggers the workflow on push to main
branches: [main]
paths:
- 'solidity/**'
- '.github/workflows/static-analysis.yml'
# Triggers the workflow on pull request
pull_request:
paths:
- 'solidity/**'
- '.github/workflows/static-analysis.yml'

jobs:
slither:
Expand Down

0 comments on commit ba6ab2c

Please sign in to comment.