From 3c2c337898a93b6d7ce78868529a3d5dbe2a07b5 Mon Sep 17 00:00:00 2001 From: arriven Date: Mon, 7 Mar 2022 08:44:43 +0200 Subject: [PATCH] only trigger tests in PR when code was changed --- .github/workflows/test.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index ce60949e..7675602b 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -5,6 +5,11 @@ on: branches: - "main" pull_request: + paths: + - "src/**" + - "main.go" + - "go.mod" + - "go.sum" jobs: test: