From 90ea52487604cb200ea301f834ece4b45eb7c099 Mon Sep 17 00:00:00 2001 From: notohh Date: Sun, 3 Dec 2023 14:36:36 -0500 Subject: [PATCH] ci: update check workflows to run only on nix changes --- .forgejo/workflows/check.yml | 5 ++++- .forgejo/workflows/fmt.yml | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.forgejo/workflows/check.yml b/.forgejo/workflows/check.yml index 8202017..462c4c7 100644 --- a/.forgejo/workflows/check.yml +++ b/.forgejo/workflows/check.yml @@ -1,6 +1,9 @@ name: flake check -on: [push] +on: + push: + paths: + - "**.nix" jobs: check: runs-on: ubuntu-latest diff --git a/.forgejo/workflows/fmt.yml b/.forgejo/workflows/fmt.yml index e202ec9..9061539 100644 --- a/.forgejo/workflows/fmt.yml +++ b/.forgejo/workflows/fmt.yml @@ -1,6 +1,9 @@ name: fmt check -on: [push] +on: + push: + paths: + - "**.nix" jobs: check: runs-on: ubuntu-latest