about summary refs log tree commit diff
path: root/ci/pipelines/pre-receive.nix
blob: 9a30f271ed4554f0973017888143739aa13e2b7f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
{ pkgs, ... }:

let
  pipeline.steps = [
    {
      key = "lint";
      command = "${pkgs.git-secrets}/bin/git-secrets --scan-history";
      label = ":broom: lint";
    }
  ];
in pkgs.writeText "pipeline.yaml" (builtins.toJSON pipeline)