From 45c24aa2dcf4c59446eb441c6b0b7e8ca283177f Mon Sep 17 00:00:00 2001 From: Gustavo Alves Date: Thu, 6 Jun 2024 15:27:28 +0200 Subject: [PATCH] Run E2E tests only when go and yaml files are modified --- .github/workflows/e2e.yaml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/.github/workflows/e2e.yaml b/.github/workflows/e2e.yaml index 98d44f81..d21edf01 100644 --- a/.github/workflows/e2e.yaml +++ b/.github/workflows/e2e.yaml @@ -3,9 +3,39 @@ on: pull_request: branches: - main + paths-ignore: + - "**.md" + - "tools/**" + - ".codespellignore" + - ".gitignore" + - ".golangci.yml" + - ".mockery.yaml" + - ".yamllint" + - "CODEOWNERS" + - "envfile.example" + - "LICENSE" + - ".yamlint" + - "PROJECT" + - "sonar-project.properties" + - "tilt-provider.json" push: branches: - main + paths-ignore: + - "**.md" + - "tools/**" + - ".codespellignore" + - ".gitignore" + - ".golangci.yml" + - ".mockery.yaml" + - ".yamllint" + - "CODEOWNERS" + - "envfile.example" + - "LICENSE" + - ".yamlint" + - "PROJECT" + - "sonar-project.properties" + - "tilt-provider.json" jobs: e2e: runs-on: ubuntu-latest