From 6f1da25f7e14635308dc8ed95bcf13caf6e0f183 Mon Sep 17 00:00:00 2001 From: Amith Koujalgi Date: Wed, 19 Mar 2025 08:20:09 +0530 Subject: [PATCH] Updated GH action --- .github/workflows/build-and-test-on-pr-open.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-and-test-on-pr-open.yml b/.github/workflows/build-and-test-on-pr-open.yml index bd9ce71..4f564bf 100644 --- a/.github/workflows/build-and-test-on-pr-open.yml +++ b/.github/workflows/build-and-test-on-pr-open.yml @@ -2,8 +2,11 @@ name: Run Tests on: pull_request: -# types: [opened, reopened, synchronize, edited] + # types: [opened, reopened, synchronize, edited] branches: [ "main" ] + paths: + - 'src/**' # Run if changes occur in the 'src' folder + - 'pom.xml' # Run if changes occur in the 'pom.xml' file concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}