From bd58ac85ad27c884b5e981555b7d38744093a8de Mon Sep 17 00:00:00 2001 From: bobturneruk Date: Wed, 15 Apr 2026 10:13:11 +0000 Subject: [PATCH 1/2] ci: add gitleaks action --- .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..418cb6d --- /dev/null +++ b/.github/workflows/gitleaks.yaml @@ -0,0 +1,18 @@ +on: + pull_request: + branches: + - develop + - main + push: + tags: + - '*.*.*' + - '*.*.*-rc*' + +jobs: + gitleaks: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - name: Check for GitLeaks + uses: gacts/gitleaks@v1 \ No newline at end of file From b71ca61333da7d96977e4472a46bf4bced1eead1 Mon Sep 17 00:00:00 2001 From: bobturneruk Date: Wed, 15 Apr 2026 10:34:51 +0000 Subject: [PATCH 2/2] ci: fetch depth 0 --- .github/workflows/gitleaks.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/gitleaks.yaml b/.github/workflows/gitleaks.yaml index 418cb6d..301db0a 100644 --- a/.github/workflows/gitleaks.yaml +++ b/.github/workflows/gitleaks.yaml @@ -13,6 +13,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + with: + fetch-depth: 0 - name: Check for GitLeaks uses: gacts/gitleaks@v1 \ No newline at end of file