meta: use Hercules CI's flake-update effect
This commit is contained in:
parent
be5af5006d
commit
b6dcf3ee7a
3 changed files with 19 additions and 0 deletions
|
@ -18,6 +18,7 @@
|
||||||
./hosts/part.nix
|
./hosts/part.nix
|
||||||
./modules/part.nix
|
./modules/part.nix
|
||||||
./packages/part.nix
|
./packages/part.nix
|
||||||
|
./jobs/part.nix
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
5
jobs/part.nix
Normal file
5
jobs/part.nix
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
./update-flake-lock
|
||||||
|
];
|
||||||
|
}
|
13
jobs/update-flake-lock/default.nix
Normal file
13
jobs/update-flake-lock/default.nix
Normal 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;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue