From f9454122b66e823ac2f1844ff8988f3d908e76ef Mon Sep 17 00:00:00 2001 From: tplevko Date: Thu, 7 Mar 2024 11:27:41 +0100 Subject: [PATCH] Chore - add rules to limit the chromatic action triggering --- .github/workflows/chromatic.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/chromatic.yml b/.github/workflows/chromatic.yml index 106d431d4..63a51dc08 100644 --- a/.github/workflows/chromatic.yml +++ b/.github/workflows/chromatic.yml @@ -13,11 +13,13 @@ on: pull_request: branches: - main + paths-ignore: + - 'packages/ui-tests/cypress/**' # List of jobs jobs: chromatic-deployment: - if: github.repository == 'KaotoIO/kaoto-next' && github.actor != 'renovate[bot]' + if: github.repository == 'KaotoIO/kaoto-next' && github.actor != 'renovate[bot]' && !github.event.pull_request.draft # Operating System runs-on: ubuntu-latest # Job steps