From c83d79f64dddfb6725613f45e4bde86e9a17d2f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ricardo=20Fern=C3=A1ndez=20Serrata?= <76864299+Rudxain@users.noreply.github.com> Date: Mon, 27 May 2024 09:20:19 -0400 Subject: [PATCH] fix HTML+CSS-validator.yml --- .github/workflows/HTML+CSS-validator.yml | 34 ++++++++++++++++++++---- 1 file changed, 29 insertions(+), 5 deletions(-) diff --git a/.github/workflows/HTML+CSS-validator.yml b/.github/workflows/HTML+CSS-validator.yml index b4954c4..1f48477 100644 --- a/.github/workflows/HTML+CSS-validator.yml +++ b/.github/workflows/HTML+CSS-validator.yml @@ -1,5 +1,29 @@ -- name: HTML5 Validator - uses: Cyb3r-Jak3/html5validator-action@v7.2.0 - with: - root: src/ - css: true +name: "HTML+CSS validator" + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +jobs: + analyze: + name: Validate + runs-on: ubuntu-latest + permissions: + actions: read + contents: read + security-events: write + + strategy: + fail-fast: false + + steps: + - name: Checkout repository + uses: actions/checkout@v3 + + - name: HTML5 Validator + uses: Cyb3r-Jak3/html5validator-action@v7.2.0 + with: + root: src/ + css: true