This repository has been archived on 2024-10-30. You can view files and clone it, but cannot push or open issues or pull requests.
emacs/ci/default.nix
2023-12-08 11:40:36 +01:00

31 lines
789 B
Nix

{inputs, config, ...}: {
imports = [
inputs.hercules-ci-effects.flakeModule
];
herculesCI.ciSystems = [
"x86_64-linux"
# "aarch64-linux"
];
hercules-ci.flake-update = {
enable = true;
updateBranch = "updated-flake-lock";
createPullRequest = true;
autoMergeMethod = null;
when = {
minute = 30;
hour = 13;
dayOfWeek = ["Mon" "Tue" "Wed" "Thu" "Fri" "Sat" "Sun"];
};
pullRequestBody = ''
Update `flake.lock`. See the commit message(s) for details.
You may reset this branch by deleting it and re-running the update job. xs
git push origin :${config.hercules-ci.flake-update.updateBranch}
```
${builtins.readFile config.packages.x86_64-linux.diff-closures}
```
'';
};
}