Skip to content

Commit

Permalink
Update axe.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
revolunet authored Apr 3, 2024
1 parent 3307114 commit 5cad1d5
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/axe.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,17 +28,16 @@ jobs:
run: |
{
echo 'AXE_OUTPUT<<EOF'
axe https://beta.gouv.fr --exit
axe https://beta.gouv.fr
echo EOF
} >> "$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: |
Expand Down

0 comments on commit 5cad1d5

Please sign in to comment.