From 5cad1d59df845b842d5aaf01a81394b4eea59cd2 Mon Sep 17 00:00:00 2001 From: Julien Bouquillon Date: Wed, 3 Apr 2024 23:58:22 +0200 Subject: [PATCH] Update axe.yml --- .github/workflows/axe.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/axe.yml b/.github/workflows/axe.yml index 2d519136402e..43dd75d6f2f3 100644 --- a/.github/workflows/axe.yml +++ b/.github/workflows/axe.yml @@ -28,17 +28,16 @@ jobs: run: | { echo 'AXE_OUTPUT<> "$GITHUB_ENV" - name: Read result - if: success() || failure() run: | echo "$AXE_OUTPUT" - name: Post result - if: failure() + if: ${{ contains(env.AXE_OUTPUT, 'Accessibility issues detected') }} uses: marocchino/sticky-pull-request-comment@v2 with: message: |