From 2380b0295da62846973d7a0656b2194f2139eabe Mon Sep 17 00:00:00 2001 From: Harsh Khandeparkar Date: Sat, 22 Feb 2025 19:03:42 +0530 Subject: [PATCH] feat: only run test and lint if pushing to backend/ in a pr --- .github/workflows/test_and_lint.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/test_and_lint.yml b/.github/workflows/test_and_lint.yml index 8f8e9bc..0f29c49 100644 --- a/.github/workflows/test_and_lint.yml +++ b/.github/workflows/test_and_lint.yml @@ -5,6 +5,9 @@ on: branches: - main pull_request: + paths: + - 'backend/' + env: CARGO_TERM_COLOR: always