From 15a8382be7fb1c382f4cf0aa0337939de8afed9b Mon Sep 17 00:00:00 2001 From: notohh Date: Sun, 18 Jun 2023 18:44:14 -0400 Subject: [PATCH] ci: fix pathing? --- .woodpecker/checks.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.woodpecker/checks.yml b/.woodpecker/checks.yml index 0f37fbf..cacbd96 100644 --- a/.woodpecker/checks.yml +++ b/.woodpecker/checks.yml @@ -1,7 +1,3 @@ -variables: - - &when_path - - "*.nix" - pipeline: check: image: nixos/nix @@ -9,11 +5,15 @@ pipeline: - echo 'experimental-features = flakes nix-command' >> /etc/nix/nix.conf - nix flake check when: - path: *when_path + path: + include: [ '*.nix' ] + exclude: [ '*.md', '*.yml' ] fmt: image: nixos/nix commands: - echo 'experimental-features = flakes nix-command' >> /etc/nix/nix.conf - nix run nixpkgs#alejandra -- -c . when: - path: *when_path + path: + include: [ '*.nix' ] + exclude: [ '*.md', '*.yml' ]