From 9f5b7b610a014a201b8bf0d65945fe77b0d78c16 Mon Sep 17 00:00:00 2001 From: Christopher Kolstad Date: Wed, 5 Jul 2023 14:29:37 +0200 Subject: [PATCH] chore: add paths-ignore to more workflows (#4041) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ### What To reduce the work needed, this PR adds paths-ignore to avoid building unnecessary workflows. Co-authored-by: Gastón Fournier --- .github/workflows/build_prs.yaml | 3 +++ .github/workflows/build_prs_jest_report.yaml | 3 +++ .github/workflows/docker_publish.yaml | 2 ++ 3 files changed, 8 insertions(+) diff --git a/.github/workflows/build_prs.yaml b/.github/workflows/build_prs.yaml index e5de6e48f8..147f26502c 100644 --- a/.github/workflows/build_prs.yaml +++ b/.github/workflows/build_prs.yaml @@ -2,6 +2,9 @@ name: PR -> Build & Lint on: pull_request: + paths-ignore: + - frontend/** + - website/** jobs: build: diff --git a/.github/workflows/build_prs_jest_report.yaml b/.github/workflows/build_prs_jest_report.yaml index 9371bb9a2a..cd467af393 100644 --- a/.github/workflows/build_prs_jest_report.yaml +++ b/.github/workflows/build_prs_jest_report.yaml @@ -2,6 +2,9 @@ name: PR -> Test & Coverage on: pull_request: + paths-ignore: + - frontend/** + - website/** jobs: build: diff --git a/.github/workflows/docker_publish.yaml b/.github/workflows/docker_publish.yaml index bf47919607..025bd95484 100644 --- a/.github/workflows/docker_publish.yaml +++ b/.github/workflows/docker_publish.yaml @@ -4,6 +4,8 @@ on: push: branches: - main + paths-ignore: + - website/** tags: - 'v*' workflow_dispatch: