Add path filters so the workflow triggers only when *.nix files, flake.lock, or the workflow itself change, skipping CI for docs/markdown/unrelated edits.
This commit is contained in:
@@ -4,7 +4,15 @@ name: CI
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
paths:
|
||||
- "**.nix"
|
||||
- "flake.lock"
|
||||
- ".gitea/workflows/ci.yaml"
|
||||
pull_request:
|
||||
paths:
|
||||
- "**.nix"
|
||||
- "flake.lock"
|
||||
- ".gitea/workflows/ci.yaml"
|
||||
|
||||
jobs:
|
||||
flake:
|
||||
|
||||
Reference in New Issue
Block a user