From 47442f4f58a2de09cef362f00eb525724b6848e8 Mon Sep 17 00:00:00 2001 From: Alex Date: Sat, 15 Feb 2025 15:06:18 +0000 Subject: [PATCH] fix: bandit workflow only on main repo --- .github/workflows/bandit.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/bandit.yaml b/.github/workflows/bandit.yaml index ad8f39b2..db5f3fc8 100644 --- a/.github/workflows/bandit.yaml +++ b/.github/workflows/bandit.yaml @@ -9,6 +9,7 @@ on: jobs: bandit_scan: + if: ${{ github.repository == 'arc53/DocsGPT' }} runs-on: ubuntu-latest permissions: security-events: write