From 94cac338edf1d6ba5d097015a49f21944aca5ce1 Mon Sep 17 00:00:00 2001 From: Akuli Date: Sun, 5 Jan 2025 13:35:36 +0200 Subject: [PATCH] Fix experimental nightly valgrind tests --- .github/workflows/valgrind.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/valgrind.yml b/.github/workflows/valgrind.yml index 8a5db9f7..0ee9ac5b 100644 --- a/.github/workflows/valgrind.yml +++ b/.github/workflows/valgrind.yml @@ -26,8 +26,8 @@ jobs: name: Create an issue if valgrind failed runs-on: ubuntu-latest needs: [valgrind] - #if: ${{ github.repository == 'Akuli/jou' && always() && github.event_name == 'schedule' && valgrind }} - if: ${{ github.repository == 'Akuli/jou' && always() && valgrind }} + #if: ${{ github.repository == 'Akuli/jou' && always() && github.event_name == 'schedule' && needs.valgrind.result == 'failure' }} + if: ${{ github.repository == 'Akuli/jou' && always() && needs.valgrind.result == 'failure' }} permissions: issues: write steps: