From 7a66e8ea93e651c48fc1297522831d2a29cbfc5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gonzalo=20Gabriel=20Jim=C3=A9nez=20Fuentes?= Date: Thu, 23 Sep 2021 15:33:29 +0200 Subject: [PATCH] ci: limit e2e tests to specific paths --- .github/workflows/e2e.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 0183aad1..f7711fc8 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -3,8 +3,26 @@ name: e2e on: push: branches: [ "*" ] + paths: + - '.github/workflows/e2e.yml' + - 'api/*' + - 'controllers/*' + - 'e2e/*' + - 'Dockerfile' + - 'go.*' + - 'main.go' + - 'Makefile' pull_request: branches: [ "*" ] + paths: + - '.github/workflows/e2e.yml' + - 'api/*' + - 'controllers/*' + - 'e2e/*' + - 'Dockerfile' + - 'go.*' + - 'main.go' + - 'Makefile' jobs: kind: