From f8430b432e6d0ede687d0149899fd800d05170ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20Beltra=CC=81n?= Date: Sun, 19 May 2024 12:32:37 +0200 Subject: [PATCH] update gitguardian action --- .github/workflows/gitguardian.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/gitguardian.yml b/.github/workflows/gitguardian.yml index 085eda67..30b32247 100644 --- a/.github/workflows/gitguardian.yml +++ b/.github/workflows/gitguardian.yml @@ -8,14 +8,13 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: - fetch-depth: 0 + fetch-depth: 0 # fetch all history so multiple commits can be scanned - name: GitGuardian scan - uses: GitGuardian/gg-shield-action@master + uses: GitGuardian/ggshield-action@v1.27.0 env: GITHUB_PUSH_BEFORE_SHA: ${{ github.event.before }} GITHUB_PUSH_BASE_SHA: ${{ github.event.base }} - GITHUB_PULL_BASE_SHA: ${{ github.event.pull_request.base.sha }} GITHUB_DEFAULT_BRANCH: ${{ github.event.repository.default_branch }} - GITGUARDIAN_API_KEY: 'a5B0D4Ada592FEC3d910Ae31D7beFA8AdD21e9203aE4E0f7b37Da4f5ea2eB98D6aB94dd' + GITGUARDIAN_API_KEY: ${{ secrets.GITGUARDIAN_API_KEY }}