Skip to main content

🧩 A ready-to-use CI/CD Pipeline for detecting secrets in your code using Gitleaks

Works with
This package works with Bun
This package works with Node.js
This package works with Deno
JSR Score
76%
Published
3 months ago (0.2.0)

Gitleaks Pipeline

fluentci pipeline deno compatibility dagger-min-version ci

A ready-to-use CI/CD Pipeline for detecting secrets in your code using Gitleaks.

🚀 Usage

Run the following command:

fluentci run gitleaks_pipeline

Or, if you want to use it as a template:

fluentci init -t gitleaks

This will create a .fluentci folder in your project.

Now you can run the pipeline with:

fluentci run .

🧩 Dagger Module

Use as a Dagger module:

dagger install github.com/fluent-ci-templates/gitleaks-pipeline@main

Call a function from the module:

dagger call detect --src .

✨ Jobs

Job Description
detect Detect secrets in your code
detect(
  src: string | Directory | undefined = "."
): Promise<File | string>

👨‍💻 Programmatic usage

You can also use this pipeline programmatically:

import { detect } from "jsr:@fluentci/gitleaks";

await detect();
Built and signed on
GitHub Actions
View transparency log

Add Package

deno add @fluentci/gitleaks

Import symbol

import * as mod from "@fluentci/gitleaks";

Add Package

npx jsr add @fluentci/gitleaks

Import symbol

import * as mod from "@fluentci/gitleaks";

Add Package

yarn dlx jsr add @fluentci/gitleaks

Import symbol

import * as mod from "@fluentci/gitleaks";

Add Package

pnpm dlx jsr add @fluentci/gitleaks

Import symbol

import * as mod from "@fluentci/gitleaks";

Add Package

bunx jsr add @fluentci/gitleaks

Import symbol

import * as mod from "@fluentci/gitleaks";