From 3ff10e010f9eda84a7ba5cdb0429ab026b441490 Mon Sep 17 00:00:00 2001 From: Max Date: Sat, 15 Jun 2024 11:32:55 +0200 Subject: [PATCH] Updates files --- .github/workflows/ggshield-action.yml | 20 ++++++++++++++++++++ .github/workflows/trufflehogoss.yml | 2 -- 2 files changed, 20 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/ggshield-action.yml delete mode 100644 .github/workflows/trufflehogoss.yml diff --git a/.github/workflows/ggshield-action.yml b/.github/workflows/ggshield-action.yml new file mode 100644 index 0000000..271108c --- /dev/null +++ b/.github/workflows/ggshield-action.yml @@ -0,0 +1,20 @@ +name: GitGuardian scan + +on: [push, pull_request] + +jobs: + scanning: + name: GitGuardian scan + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + with: + fetch-depth: 0 # fetch all history so multiple commits can be scanned + - name: GitGuardian scan + uses: GitGuardian/ggshield-action@v1.28.0 + env: + GITHUB_PUSH_BEFORE_SHA: ${{ github.event.before }} + GITHUB_PUSH_BASE_SHA: ${{ github.event.base }} + GITHUB_DEFAULT_BRANCH: ${{ github.event.repository.default_branch }} + GITGUARDIAN_API_KEY: ${{ secrets.GITGUARDIAN_API_KEY }} \ No newline at end of file diff --git a/.github/workflows/trufflehogoss.yml b/.github/workflows/trufflehogoss.yml deleted file mode 100644 index ca43167..0000000 --- a/.github/workflows/trufflehogoss.yml +++ /dev/null @@ -1,2 +0,0 @@ -- name: TruffleHog OSS - uses: trufflesecurity/trufflehog@v3.78.1