meta: use Hercules CI's flake-update effect

This commit is contained in:
Max Headroom 2023-03-23 18:20:34 +01:00
parent be5af5006d
commit b6dcf3ee7a
3 changed files with 19 additions and 0 deletions

View file

@ -18,6 +18,7 @@
./hosts/part.nix
./modules/part.nix
./packages/part.nix
./jobs/part.nix
];
};

5
jobs/part.nix Normal file
View file

@ -0,0 +1,5 @@
{
imports = [
./update-flake-lock
];
}

View file

@ -0,0 +1,13 @@
{
hercules-ci.flake-update = {
enable = true;
createPullRequest = true;
autoMergeMethod = "merge";
forgeType = "github";
updateBranch = "pr-flake-update";
when = {
dayOfWeek = "Fri";
hour = 2;
};
};
}