ci: ignore sources.json changes

it's unnecessary and can loop due to the niv update commit
This commit is contained in:
arcnmx 2021-05-19 11:03:12 -07:00
parent 6e494e754b
commit b9b9db4067
2 changed files with 3 additions and 6 deletions

View file

@ -91,15 +91,13 @@ name: niv-update
'on': 'on':
pull_request: pull_request:
paths: paths:
- nix/*
- default.nix - default.nix
- ./ci/niv-cron.nix - ci/niv-cron.nix
- .github/workflows/niv-update.yml - .github/workflows/niv-update.yml
push: push:
paths: paths:
- nix/*
- default.nix - default.nix
- ./ci/niv-cron.nix - ci/niv-cron.nix
- .github/workflows/niv-update.yml - .github/workflows/niv-update.yml
schedule: schedule:
- cron: 0 */6 * * * - cron: 0 */6 * * *

View file

@ -10,9 +10,8 @@ with lib; {
gh-actions = { gh-actions = {
on = let on = let
paths = [ paths = [
"nix/*" # niv and sources.json
"default.nix" # sourceCache "default.nix" # sourceCache
config.ci.configPath config.ci.gh-actions.path "ci/niv-cron.nix" config.ci.gh-actions.path
]; ];
in { in {
push = { push = {