From 4ea3a3a5ee95e43ad4a399488a4cfaddb9896d05 Mon Sep 17 00:00:00 2001 From: Urs Rudolph Date: Fri, 26 Dec 2025 21:27:56 +0100 Subject: [PATCH] Testing Gitleaks Action --- .gitea/workflows/leaks.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .gitea/workflows/leaks.yaml diff --git a/.gitea/workflows/leaks.yaml b/.gitea/workflows/leaks.yaml new file mode 100644 index 0000000..e30fbb3 --- /dev/null +++ b/.gitea/workflows/leaks.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@v4 + with: + fetch-depth: 0 + - uses: gitleaks/gitleaks-action@v2 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file