Skip to content

Commit c69de7d

Browse files
committed
feat: update workflow to trigger only on pull requests
1 parent 1a547e7 commit c69de7d

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,5 @@
11
on:
2-
push:
3-
branches:
4-
- feature/*
5-
- bugfix/*
6-
- develop
7-
- release/*
8-
- hotfix/*
9-
- main
10-
- v5
2+
pull_request:
113

124
jobs:
135
# Note: changing the name of the job disables Slither checks with the error:
@@ -48,7 +40,7 @@ jobs:
4840
- name: Run static analysis with Slither
4941
uses: crytic/[email protected]
5042
with:
51-
target: "contracts/tools/testing/slither/"
43+
target: 'contracts/tools/testing/slither/'
5244
solc-version: '0.8.21'
5345
slither-args: --checklist --markdown-root ${{ github.server_url }}/${{ github.repository }}/blob/${{ github.sha }}/
5446
fail-on: none # TODO set this to high or other

0 commit comments

Comments
 (0)