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:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [main]
|
branches: [main]
|
||||||
|
paths:
|
||||||
|
- "**.nix"
|
||||||
|
- "flake.lock"
|
||||||
|
- ".gitea/workflows/ci.yaml"
|
||||||
pull_request:
|
pull_request:
|
||||||
|
paths:
|
||||||
|
- "**.nix"
|
||||||
|
- "flake.lock"
|
||||||
|
- ".gitea/workflows/ci.yaml"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
flake:
|
flake:
|
||||||
|
|||||||
Reference in New Issue
Block a user