From d071a1c8ace5efa7e65af4f1f1cfc46a710ef0bc Mon Sep 17 00:00:00 2001 From: Felipe Augusto <14238257+felipementel@users.noreply.github.com> Date: Thu, 17 Oct 2024 08:33:40 -0300 Subject: [PATCH] feat: add GITLEAKS_LICENSE at the pipeline --- .github/workflows/pull-request-sonar.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/pull-request-sonar.yml b/.github/workflows/pull-request-sonar.yml index dfc41a1..c4332d8 100644 --- a/.github/workflows/pull-request-sonar.yml +++ b/.github/workflows/pull-request-sonar.yml @@ -29,6 +29,11 @@ jobs: with: fetch-depth: 0 + - uses: gitleaks/gitleaks-action@v2 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITLEAKS_LICENSE: ${{ secrets.GITLEAKS_LICENSE}} + - name: Setup .NET uses: actions/setup-dotnet@v4 with: