From d3fdf4add8488d9cb812d16c332c17641c9f7bf8 Mon Sep 17 00:00:00 2001 From: Adria Navarro Date: Wed, 27 Mar 2024 11:37:13 +0100 Subject: [PATCH] Runs checks only if you changed it --- .github/workflows/budibase_ci.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/budibase_ci.yml b/.github/workflows/budibase_ci.yml index 36ea2f5448..1a4ad5e1be 100644 --- a/.github/workflows/budibase_ci.yml +++ b/.github/workflows/budibase_ci.yml @@ -264,7 +264,15 @@ jobs: token: ${{ secrets.PERSONAL_ACCESS_TOKEN || github.token }} fetch-depth: 0 - - name: Check account portal commit + - uses: dorny/paths-filter@v3 + id: changes + with: + filters: | + src: + - packages/account-portal/** + + - if: steps.changes.outputs.changes.src == 'true' + name: Check account portal commit id: get_accountportal_commits run: | cd packages/account-portal