aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorFuwn <[email protected]>2021-05-07 17:40:57 -0700
committerFuwn <[email protected]>2021-05-07 17:40:57 -0700
commita7fbb7e6ddf781e1ed807ddc1434772456ab9f07 (patch)
tree11ac2500a51b7528364538730d08bef338b2d6e3 /.github/workflows
parentci(actions): check nix configuration on change (diff)
downloadresume-md-a7fbb7e6ddf781e1ed807ddc1434772456ab9f07.tar.xz
resume-md-a7fbb7e6ddf781e1ed807ddc1434772456ab9f07.zip
fix(actions): only trigger nix check action on .nix file changes
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/nix.yml10
1 files changed, 9 insertions, 1 deletions
diff --git a/.github/workflows/nix.yml b/.github/workflows/nix.yml
index 4c2312d..91a9153 100644
--- a/.github/workflows/nix.yml
+++ b/.github/workflows/nix.yml
@@ -1,6 +1,14 @@
name: "Nix ✅/ 🚫"
-on: [ push, pull_request ]
+on:
+ push:
+ paths:
+ - "*.nix"
+ - "nix/*.nix"
+ pull_request:
+ paths:
+ - "*.nix"
+ - "nix/*.nix"
jobs:
check: