Skip to content

Commit

Permalink
ci: adjust path triggers
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisgrieser committed Dec 25, 2024
1 parent ae2cd47 commit a354d4e
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/markdownlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,13 @@ name: Markdownlint check
on:
push:
branches: [main]
paths: ["**.md"]
paths:
- "**.md"
- ".github/workflows/markdownlint.yml"
- ".markdownlint.*" # markdownlint config files
pull_request:
paths:
- "**.md"

jobs:
markdownlint:
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/nvim-type-check.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
name: nvim type check

on:
pull_request: ~
push:
branches: [main]
paths: ["**.lua"]
pull_request:
paths: ["**.lua"]

jobs:
build:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/stylua.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
branches: [main]
paths: ["**.lua"]
pull_request:
paths: ["**.lua"]

jobs:
stylua:
Expand Down

0 comments on commit a354d4e

Please sign in to comment.