run niv update workflow when sources change

This commit is contained in:
arcnmx 2021-05-19 06:43:19 -07:00
parent 3fbae6cd2a
commit e7d6ef8769

View file

@ -8,7 +8,15 @@ with lib; {
gh-actions.env.CACHIX_SIGNING_KEY = "\${{ secrets.CACHIX_SIGNING_KEY }}";
gh-actions = {
on = {
on = let
paths = [ "nix/*" "ci/*" ];
in {
push = {
inherit paths;
};
pull_request = {
inherit paths;
};
schedule = [ {
cron = "0 */6 * * *";
} ];