aboutsummaryrefslogtreecommitdiff
path: root/misc/pre-commit.nix
diff options
context:
space:
mode:
Diffstat (limited to 'misc/pre-commit.nix')
-rw-r--r--misc/pre-commit.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/misc/pre-commit.nix b/misc/pre-commit.nix
index b287f3cec..ea39bc21d 100644
--- a/misc/pre-commit.nix
+++ b/misc/pre-commit.nix
@@ -60,10 +60,10 @@ pre-commit-run {
release-notes = {
enable = true;
package = pkgs.build-release-notes;
- files = "^doc/manual/rl-next(-dev)?";
+ files = ''^doc/manual/(change-authors\.yml|rl-next(-dev)?)'';
pass_filenames = false;
entry = ''
- ${lib.getExe pkgs.build-release-notes} doc/manual/rl-next doc/manual/rl-next-dev
+ ${lib.getExe pkgs.build-release-notes} --change-authors doc/manual/change-authors.yml doc/manual/rl-next doc/manual/rl-next-dev
'';
};
check-headers = {