From dbb453268fb16382dd6faad73f6e2e1a29dca2f4 Mon Sep 17 00:00:00 2001 From: iamgp21 Date: Sat, 23 Aug 2025 20:39:00 +0530 Subject: [PATCH 1/2] Added GitLeaks Integration --- .github/workflows/dbac-deploy.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/dbac-deploy.yaml b/.github/workflows/dbac-deploy.yaml index d32b72d..328275a 100644 --- a/.github/workflows/dbac-deploy.yaml +++ b/.github/workflows/dbac-deploy.yaml @@ -13,6 +13,18 @@ env: jobs: + secrets_scan: + name: gitleaks + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 + with: + fetch-depth: 0 + - uses: gitleaks/gitleaks-action@ff98106e4c7b2bc287b24eaf42907196329070c7 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITLEAKS_NOTIFY_USER_LIST: '@iamgp21' + infra_scan: name: 'Infra Scan' runs-on: ubuntu-latest From 289ef1826b1ec9433da7db8afeaf360957072d6f Mon Sep 17 00:00:00 2001 From: iamgp21 Date: Sat, 23 Aug 2025 20:42:55 +0530 Subject: [PATCH 2/2] Updated Jobs Dependencies --- .github/workflows/dbac-deploy.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/dbac-deploy.yaml b/.github/workflows/dbac-deploy.yaml index 328275a..03f8acb 100644 --- a/.github/workflows/dbac-deploy.yaml +++ b/.github/workflows/dbac-deploy.yaml @@ -27,6 +27,7 @@ jobs: infra_scan: name: 'Infra Scan' + needs: [secrets_scan] runs-on: ubuntu-latest permissions: @@ -77,7 +78,7 @@ jobs: dbac_deploy: runs-on: DbaC - needs: [infra_scan, docs] + needs: [docs] defaults: run: