From a14482364ce93a50bdf47d7b6390d8f3eabb9c62 Mon Sep 17 00:00:00 2001 From: Aleksander Kiryk Date: Thu, 14 Nov 2024 09:27:01 +0100 Subject: [PATCH] Fix condition for custom tests --- .github/workflows/test-riscv-dv.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test-riscv-dv.yml b/.github/workflows/test-riscv-dv.yml index 3ce5addb1a1..d9c87e87963 100644 --- a/.github/workflows/test-riscv-dv.yml +++ b/.github/workflows/test-riscv-dv.yml @@ -227,7 +227,7 @@ jobs: name: Run custom RISC-V DV tests runs-on: [ self-hosted, Linux, X64, gcp-custom-runners ] container: centos:8 - if: github.event.pull_request.merged == true + if: github.ref == 'refs/heads/main' needs: [ generate-config, generate-code ] strategy: fail-fast: false