From ed1e04657fd621b64d879d4552bb42e5627142ab Mon Sep 17 00:00:00 2001 From: Chris Grieser <73286100+chrisgrieser@users.noreply.github.com> Date: Tue, 3 Dec 2024 19:15:54 +0100 Subject: [PATCH] ci: trigger nvim-type-check only when lua files are pushed --- .github/workflows/{nvim-typecheck.yml => nvim-type-check.yml} | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) rename .github/workflows/{nvim-typecheck.yml => nvim-type-check.yml} (80%) diff --git a/.github/workflows/nvim-typecheck.yml b/.github/workflows/nvim-type-check.yml similarity index 80% rename from .github/workflows/nvim-typecheck.yml rename to .github/workflows/nvim-type-check.yml index 0fdeb1e..fadc227 100644 --- a/.github/workflows/nvim-typecheck.yml +++ b/.github/workflows/nvim-type-check.yml @@ -1,7 +1,9 @@ name: nvim type check on: pull_request: ~ - push: { branches: [main] } + push: + branches: [main] + paths: ["**.lua"] jobs: build: