From ecb16c2f0368ec0c9180594920c8e93e01553f7e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrea=20Funt=C3=B2?= Date: Sat, 15 Nov 2025 14:53:50 +0100 Subject: [PATCH] ci: Add Gitleaks security scan workflow --- .github/workflows/gitleaks.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/gitleaks.yml diff --git a/.github/workflows/gitleaks.yml b/.github/workflows/gitleaks.yml new file mode 100644 index 0000000..2c93367 --- /dev/null +++ b/.github/workflows/gitleaks.yml @@ -0,0 +1,20 @@ +name: Gitleaks +on: + push: + pull_request: + workflow_dispatch: + schedule: + - cron: "0 4 * * *" # run once a day at 4 AM +jobs: + scan: + name: Gitleaks + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v4 + with: + fetch-depth: 0 + - name: Run Gitleaks + uses: gitleaks/gitleaks-action@v2 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}