Skip to content

Commit

Permalink
add condition for forks and dependabot
Browse files Browse the repository at this point in the history
  • Loading branch information
jkan2 committed Nov 9, 2024
1 parent bc456ba commit 931d777
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/lstn.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,16 @@ on:
jobs:
listen_dev:
runs-on: ubuntu-latest


if: |
github.actor != 'dependabot[bot]' &&
(github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == 'zeta-chain/node')
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Run listen.dev Scan
uses: listendev/action@v0.11
uses: listendev/action@v0.12
with:
jwt: ${{ secrets.LSTN_API_KEY }}
ci: only

0 comments on commit 931d777

Please sign in to comment.