From 66d49e6e4146bb1f44c6daa7f43cb1138fc82882 Mon Sep 17 00:00:00 2001 From: Moshi Binyamini Date: Mon, 1 Apr 2024 16:42:33 +0300 Subject: [PATCH] Create gitleaks.yaml --- .github/workflows/gitleaks.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/gitleaks.yaml diff --git a/.github/workflows/gitleaks.yaml b/.github/workflows/gitleaks.yaml new file mode 100644 index 0000000..46b9af3 --- /dev/null +++ b/.github/workflows/gitleaks.yaml @@ -0,0 +1,18 @@ +name: gitleaks +on: + pull_request: + push: + workflow_dispatch: + schedule: + - cron: "0 4 * * *" # run once a day at 4 AM +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 }}