From e7d6ef876984dbf883de93e297dea53cd4a65ef2 Mon Sep 17 00:00:00 2001 From: arcnmx Date: Wed, 19 May 2021 06:43:19 -0700 Subject: [PATCH] run niv update workflow when sources change --- ci/niv-cron.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/ci/niv-cron.nix b/ci/niv-cron.nix index 940447b0..b56446ca 100644 --- a/ci/niv-cron.nix +++ b/ci/niv-cron.nix @@ -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 * * *"; } ];