From 2f4bd60b1e0926f8a9c643248f3a2c775183cd47 Mon Sep 17 00:00:00 2001 From: Mauro Ezequiel Moltrasio Date: Wed, 29 May 2024 19:01:23 +0200 Subject: [PATCH] Fix if condition --- .github/workflows/konflux.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/konflux.yml b/.github/workflows/konflux.yml index 559e88d6a8..56daad08ad 100644 --- a/.github/workflows/konflux.yml +++ b/.github/workflows/konflux.yml @@ -22,6 +22,8 @@ jobs: - run: echo "${HEAD_REF}" run-tests: uses: ./.github/workflows/konflux-tests.yml - if: contains(fromJSON('["konflux", "rhtap"]'), github.head_ref) + if: github.event_name == 'push' || + contains(github.head_ref, 'konflux') || + contains(github.head_ref, 'rhtap') secrets: inherit