From 3ddb872ec1b11c6d24d01c2b4fbc2de96cfba0ac Mon Sep 17 00:00:00 2001 From: odcheck Date: Wed, 13 Dec 2023 10:39:06 +0100 Subject: [PATCH] Add secret scan workflow --- .github/workflows/git-secret-scan.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/workflows/git-secret-scan.yml diff --git a/.github/workflows/git-secret-scan.yml b/.github/workflows/git-secret-scan.yml new file mode 100644 index 00000000000..c77d66dd18f --- /dev/null +++ b/.github/workflows/git-secret-scan.yml @@ -0,0 +1,15 @@ +name: gitleaks +on: + pull_request: + push: +jobs: + scan: + name: gitleaks + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + with: + fetch-depth: 0 + - uses: gitleaks/gitleaks-action@v2 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}