From c4b692ccc6336ee3865eab27c8eb603b12a64d9e Mon Sep 17 00:00:00 2001 From: Krzysztof Saczuk Date: Mon, 6 May 2024 17:29:05 +0200 Subject: [PATCH] ci: restrict checks to run only on Nix changes --- .github/workflows/check.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/check.yaml b/.github/workflows/check.yaml index ffd8aa5..b0d3659 100644 --- a/.github/workflows/check.yaml +++ b/.github/workflows/check.yaml @@ -1,8 +1,16 @@ name: CI on: pull_request: + paths: + - "**/*.nix" + - "flake.lock" + - ".github/workflows/check.yaml" push: branches: [main] + paths: + - "**/*.nix" + - "flake.lock" + - ".github/workflows/check.yaml" jobs: test: name: Check repository