fix(ci): Don't run nix check when no nix files have changed

This commit is contained in:
Jalil David Salamé Messina 2024-01-14 19:30:10 +01:00
parent d56b740017
commit 042b10abb8
Signed by: jalil
GPG key ID: F016B9E770737A0B
2 changed files with 5 additions and 2 deletions

View file

@ -1,6 +1,9 @@
name: Check flake
on:
push:
path:
- ./**.nix
- ./flake.lock
pull_request:
schedule:
- cron: 5 4 * * 5 # At 04:05 on Friday.

View file

@ -12,8 +12,8 @@ on:
# Module options
- ./options.nix
# Nix files
- flake.lock
- flake.nix
- ./flake.lock
- ./flake.nix
jobs:
build-website: