From 5b5ee928f6d818131c5a1f7c00c9e9e4450c703a Mon Sep 17 00:00:00 2001 From: "Prekshith D J (Persistent Systems Inc)" Date: Mon, 6 Apr 2026 14:34:26 +0530 Subject: [PATCH 1/2] Filter the paths for pipeline run --- .github/workflows/Create-Release.yml | 7 +++++++ .github/workflows/pylint.yml | 10 ++++++++++ .github/workflows/test.yml | 4 ++-- 3 files changed, 19 insertions(+), 2 deletions(-) diff --git a/.github/workflows/Create-Release.yml b/.github/workflows/Create-Release.yml index 4bf60b50..f2061018 100644 --- a/.github/workflows/Create-Release.yml +++ b/.github/workflows/Create-Release.yml @@ -2,6 +2,13 @@ on: push: branches: - main + paths: + - 'src/**' + - 'infra/**' + - 'scripts/**' + - 'docker/**' + - 'azure.yaml' + - '.github/workflows/Create-Release.yml' permissions: contents: write diff --git a/.github/workflows/pylint.yml b/.github/workflows/pylint.yml index 35b997af..f9c4d858 100644 --- a/.github/workflows/pylint.yml +++ b/.github/workflows/pylint.yml @@ -5,6 +5,16 @@ permissions: on: push: + branches: [main, dev, demo] + paths: + - '**/*.py' + - '**/requirements.txt' + - '**/pyproject.toml' + - '.flake8' + - '.github/workflows/pylint.yml' + pull_request: + branches: [main, dev, demo] + types: [opened, ready_for_review, reopened, synchronize] paths: - '**/*.py' - '**/requirements.txt' diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d05fffa8..f1ef5755 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -10,7 +10,7 @@ on: - demo paths: - 'src/backend/**/*.py' - - 'src/tests/backend/**' + - 'src/tests/**' - '.github/workflows/test.yml' - 'src/backend/requirements.txt' - 'src/frontend/requirements.txt' @@ -27,7 +27,7 @@ on: - demo paths: - 'src/backend/**/*.py' - - 'src/tests/backend/**' + - 'src/tests/**' - '.github/workflows/test.yml' - 'src/backend/requirements.txt' - 'src/frontend/requirements.txt' From 73c461ceb5a60c872e34b4d956e6a719aafe3f93 Mon Sep 17 00:00:00 2001 From: "Prekshith D J (Persistent Systems Inc)" Date: Thu, 9 Apr 2026 11:51:16 +0530 Subject: [PATCH 2/2] fix: Remove Create-Release.yml path filter changes Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .github/workflows/Create-Release.yml | 7 ------- 1 file changed, 7 deletions(-) diff --git a/.github/workflows/Create-Release.yml b/.github/workflows/Create-Release.yml index f2061018..4bf60b50 100644 --- a/.github/workflows/Create-Release.yml +++ b/.github/workflows/Create-Release.yml @@ -2,13 +2,6 @@ on: push: branches: - main - paths: - - 'src/**' - - 'infra/**' - - 'scripts/**' - - 'docker/**' - - 'azure.yaml' - - '.github/workflows/Create-Release.yml' permissions: contents: write