diff --git a/.github/workflows/axe.yml b/.github/workflows/axe.yml index 43dd75d6f2f3..4ba371292aa4 100644 --- a/.github/workflows/axe.yml +++ b/.github/workflows/axe.yml @@ -47,3 +47,7 @@ jobs: ${{ env.AXE_OUTPUT }} ``` + - name: Exit code + if: ${{ contains(env.AXE_OUTPUT, 'Accessibility issues detected') }} + run: | + exit 1