From 931d777fce87259360e804880f8b305f7ea15d75 Mon Sep 17 00:00:00 2001 From: jkan2 <5862123+jkan2@users.noreply.github.com> Date: Fri, 8 Nov 2024 16:28:18 -0800 Subject: [PATCH] add condition for forks and dependabot --- .github/workflows/lstn.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/lstn.yml b/.github/workflows/lstn.yml index 70cd1e3f9f..61e3f7d6a4 100644 --- a/.github/workflows/lstn.yml +++ b/.github/workflows/lstn.yml @@ -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 \ No newline at end of file