From a931f5b9bddf2d739e5d46583beece0e5b060fc2 Mon Sep 17 00:00:00 2001 From: Daniel James Smith Date: Fri, 24 Mar 2023 11:24:10 +0100 Subject: [PATCH] Skip build for browser/desktop on importer changes (#5074) The importers recently got extracted from libs/common. As the import functionality is currently limited to the web and cli, there is no need to build browser and desktop as there won't be any changes. This will free up some runners for other workflows (GH actions) to get faster builds that actually impact browser and desktop. Another benefit is faster feedback on the PR-checks for those two --- .github/workflows/build-browser.yml | 2 ++ .github/workflows/build-desktop.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/build-browser.yml b/.github/workflows/build-browser.yml index e54dc936eb4..18e7f752bd9 100644 --- a/.github/workflows/build-browser.yml +++ b/.github/workflows/build-browser.yml @@ -10,6 +10,7 @@ on: - 'apps/browser/**' - 'libs/**' - '*' + - '!libs/importer' - '!*.md' - '!*.txt' push: @@ -21,6 +22,7 @@ on: - 'apps/browser/**' - 'libs/**' - '*' + - '!libs/importer' - '!*.md' - '!*.txt' - '.github/workflows/build-browser.yml' diff --git a/.github/workflows/build-desktop.yml b/.github/workflows/build-desktop.yml index f92ae8a71e4..586e0f6d6e3 100644 --- a/.github/workflows/build-desktop.yml +++ b/.github/workflows/build-desktop.yml @@ -10,6 +10,7 @@ on: - 'apps/desktop/**' - 'libs/**' - '*' + - '!libs/importer' - '!*.md' - '!*.txt' - '.github/workflows/build-desktop.yml' @@ -22,6 +23,7 @@ on: - 'apps/desktop/**' - 'libs/**' - '*' + - '!libs/importer' - '!*.md' - '!*.txt' - '.github/workflows/build-desktop.yml'