From 3644c5916dfcfaf19d63ce6bab6656f6f8412041 Mon Sep 17 00:00:00 2001 From: Adam Narozniak Date: Tue, 12 Sep 2023 11:51:13 +0200 Subject: [PATCH 1/2] Specify the path based on which the GitHub workflows are started --- .github/workflows/e2e.yml | 4 ++++ .github/workflows/framework.yml | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index ded3aa611195..f0541776dc28 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -4,9 +4,13 @@ on: push: branches: - main + paths: + - "src/py/**" pull_request: branches: - main + paths: + - "src/py/**" env: FLWR_TELEMETRY_ENABLED: 0 diff --git a/.github/workflows/framework.yml b/.github/workflows/framework.yml index 7d617dd19871..3ac277d6ccde 100644 --- a/.github/workflows/framework.yml +++ b/.github/workflows/framework.yml @@ -4,9 +4,13 @@ on: push: branches: - main + paths: + - "src/py/**" pull_request: branches: - main + paths: + - "src/py/**" env: FLWR_TELEMETRY_ENABLED: 0 From f05112b9c3feab941c58bd04e7ec04de9d253731 Mon Sep 17 00:00:00 2001 From: Adam Narozniak Date: Wed, 20 Sep 2023 12:51:43 +0200 Subject: [PATCH 2/2] Update triggers --- .github/workflows/e2e.yml | 8 ++++---- .github/workflows/framework.yml | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index f0541776dc28..a508129c35c2 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -4,13 +4,13 @@ on: push: branches: - main - paths: - - "src/py/**" + paths-ignore: + - "datasets/**" pull_request: branches: - main - paths: - - "src/py/**" + paths-ignore: + - "datasets/**" env: FLWR_TELEMETRY_ENABLED: 0 diff --git a/.github/workflows/framework.yml b/.github/workflows/framework.yml index 3ac277d6ccde..33d5b280f873 100644 --- a/.github/workflows/framework.yml +++ b/.github/workflows/framework.yml @@ -4,13 +4,13 @@ on: push: branches: - main - paths: - - "src/py/**" + paths-ignore: + - "datasets/**" pull_request: branches: - main - paths: - - "src/py/**" + paths-ignore: + - "datasets/**" env: FLWR_TELEMETRY_ENABLED: 0