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: