From 6adbaef19df941ba9793010b9341e8c10e18d4e9 Mon Sep 17 00:00:00 2001 From: Markus Rudy Date: Thu, 21 Nov 2024 14:43:49 +0100 Subject: [PATCH] e2e: don't require e2e on unrelated PRs We run e2e tests with a pull_request trigger and an explicit list of ignored paths. This makes it tedious to work on code that can't be excluded easily, like other workflows that don't touch e2e. Moving to a mix of included and excluded paths should fix this issue. In particular, this commit is intended to trigger e2e on PRs that touch anything that's not in the existing ignorelist and not an unrelated Github workflow. --- .github/workflows/e2e_openssl.yml | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/.github/workflows/e2e_openssl.yml b/.github/workflows/e2e_openssl.yml index 81d55533fa..09340d11b3 100644 --- a/.github/workflows/e2e_openssl.yml +++ b/.github/workflows/e2e_openssl.yml @@ -2,12 +2,17 @@ name: e2e test on: pull_request: - paths-ignore: - - dev-docs/** - - docs/** - - rfc/** - - tools/asciinema/** - - tools/vale/** + paths: + - "**" + - "!.github/**" + - ".github/actions/setup_nix.yml" + - ".github/workflows/e2e.yml" + - ".github/workflows/e2e_openssl.yml" + - "!dev-docs/**" + - "!docs/**" + - "!rfc/**" + - "!tools/asciinema/**" + - "!tools/vale/**" jobs: test_matrix: