diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 3087d98e..6919bc0d 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -46,7 +46,7 @@ jobs: - name: Lint markdown uses: DavidAnson/markdownlint-cli2-action@v22.0.0 with: - config: '.markdownlint.yaml' + config: ".markdownlint.yaml" globs: | docs/**/*.md docs/*.md @@ -74,7 +74,7 @@ jobs: - name: Set up Python for PT-BR uses: actions/setup-python@v6.1.0 with: - python-version: '3.10' + python-version: "3.10" - name: Install pyspelling for PT-BR run: | @@ -89,6 +89,7 @@ jobs: deploy: name: Deploy web doc runs-on: ubuntu-latest + needs: [md_linter, spell_checker] steps: - name: Checkout markdown diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml index f4d592ce..fdbd511b 100644 --- a/.github/workflows/pr.yaml +++ b/.github/workflows/pr.yaml @@ -14,6 +14,8 @@ jobs: steps: - name: Checkout markdown uses: actions/checkout@v6.0.1 + with: + ref: ${{ github.event.pull_request.head.sha || github.sha }} - name: Link Checker uses: lycheeverse/lychee-action@v2.7.0 @@ -39,7 +41,7 @@ jobs: - name: Lint markdown uses: DavidAnson/markdownlint-cli2-action@v22.0.0 with: - config: '.markdownlint.yaml' + config: ".markdownlint.yaml" globs: | docs/**/*.md docs/*.md @@ -81,7 +83,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v6.1.0 with: - python-version: '3.10' + python-version: "3.10" - name: Install pyspelling run: |