mirror of
https://github.com/herdrdev/herdr.git
synced 2026-09-22 00:01:06 +00:00
ci: limit nix workflow triggers
This commit is contained in:
@@ -3,16 +3,28 @@ name: Nix
|
||||
on:
|
||||
pull_request:
|
||||
types: [opened, synchronize, reopened]
|
||||
paths-ignore:
|
||||
- "website/**"
|
||||
- "docs/**"
|
||||
- "**/*.md"
|
||||
paths:
|
||||
- ".github/workflows/nix.yml"
|
||||
- "assets/**"
|
||||
- "build.rs"
|
||||
- "Cargo.lock"
|
||||
- "Cargo.toml"
|
||||
- "flake.lock"
|
||||
- "flake.nix"
|
||||
- "nix/**"
|
||||
- "vendor/**"
|
||||
push:
|
||||
branches: [master]
|
||||
paths-ignore:
|
||||
- "website/**"
|
||||
- "docs/**"
|
||||
- "**/*.md"
|
||||
paths:
|
||||
- ".github/workflows/nix.yml"
|
||||
- "assets/**"
|
||||
- "build.rs"
|
||||
- "Cargo.lock"
|
||||
- "Cargo.toml"
|
||||
- "flake.lock"
|
||||
- "flake.nix"
|
||||
- "nix/**"
|
||||
- "vendor/**"
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
Reference in New Issue
Block a user