Skip to content

Commit

Permalink
Add git-secret hook
Browse files Browse the repository at this point in the history
  • Loading branch information
narinari committed Mar 6, 2023
1 parent cfee81a commit 3eb9a44
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions nix/checks.nix
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,14 @@ with pkgs;
};
statix.enable = true;
# stylua.enable = true;
git-secrets = {
enable = true;
name = "Git Secrets";
description =
"git-secrets scans commits, commit messages, and --no-ff merges to prevent adding secrets into your git repositories.";
entry = "${git-secrets}/bin/git-secrets --pre_commit_hook";
language = "script";
};
};
};
} # // (deploy-rs.lib.${system}.deployChecks self.deploy)

0 comments on commit 3eb9a44

Please sign in to comment.