a291c8690a
GitOrigin-RevId: e6e19f3d81a982a62e1bba08f0b4f7fdc21b4ea0
14 lines
288 B
Nix
14 lines
288 B
Nix
{ pkgs, depot, ... }:
|
|
|
|
let
|
|
inherit (builtins) path toJSON;
|
|
|
|
pipeline.steps = [
|
|
{
|
|
key = "lint-secrets";
|
|
command = "${pkgs.git-secrets}/bin/git-secrets --scan-history";
|
|
label = ":broom: lint secrets";
|
|
}
|
|
];
|
|
in
|
|
pkgs.writeText "pipeline.yaml" (toJSON pipeline)
|