From 84a93c2ebfd62400d9e4b479b32dff3720f11fee Mon Sep 17 00:00:00 2001 From: Josh Mock Date: Tue, 24 Oct 2023 15:40:00 -0500 Subject: [PATCH] Skip unit tests for PRs where code did not change (#2041) --- .github/workflows/nodejs.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index ca00cb372..6443f0ee8 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -1,7 +1,19 @@ --- name: Node CI -on: [push, pull_request] +on: + push: + paths-ignore: &ignore + - '**/*.md' + - '**/*.asciidoc' + - '**/*.txt' + - 'docs/**' + - '.ci/**' + - '.buildkite/**' + - 'scripts/**' + - 'catalog-info.yaml' + pull_request: + paths-ignore: *ignore jobs: test: