From a354d4ed94874a108004d3415e0dd769ff5febcc Mon Sep 17 00:00:00 2001 From: Chris Grieser <73286100+chrisgrieser@users.noreply.github.com> Date: Wed, 25 Dec 2024 11:19:40 +0100 Subject: [PATCH] ci: adjust path triggers --- .github/workflows/markdownlint.yml | 7 ++++++- .github/workflows/nvim-type-check.yml | 4 +++- .github/workflows/stylua.yml | 1 + 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/markdownlint.yml b/.github/workflows/markdownlint.yml index a1384d0..d16222f 100644 --- a/.github/workflows/markdownlint.yml +++ b/.github/workflows/markdownlint.yml @@ -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: diff --git a/.github/workflows/nvim-type-check.yml b/.github/workflows/nvim-type-check.yml index fadc227..e9e3513 100644 --- a/.github/workflows/nvim-type-check.yml +++ b/.github/workflows/nvim-type-check.yml @@ -1,9 +1,11 @@ name: nvim type check + on: - pull_request: ~ push: branches: [main] paths: ["**.lua"] + pull_request: + paths: ["**.lua"] jobs: build: diff --git a/.github/workflows/stylua.yml b/.github/workflows/stylua.yml index 5665e2b..765bb58 100644 --- a/.github/workflows/stylua.yml +++ b/.github/workflows/stylua.yml @@ -5,6 +5,7 @@ on: branches: [main] paths: ["**.lua"] pull_request: + paths: ["**.lua"] jobs: stylua: