diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 53525f5..6176b81 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -39,7 +39,12 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 0 - - uses: gitleaks/gitleaks-action@v2 + - name: Install and run gitleaks + run: | + GL_VERSION=8.18.4 + curl -sSL "https://github.com/gitleaks/gitleaks/releases/download/v${GL_VERSION}/gitleaks_${GL_VERSION}_linux_x64.tar.gz" \ + | tar xz -C /tmp gitleaks + /tmp/gitleaks detect --redact --no-banner --verbose --source . sast: runs-on: ubuntu-latest