Skip to content

Commit

Permalink
Fix indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Christopher Palmer-Richez committed Aug 5, 2024
1 parent 3dc2316 commit f4088c0
Showing 1 changed file with 30 additions and 30 deletions.
60 changes: 30 additions & 30 deletions .github/workflows/lint-docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,34 +6,34 @@ on:
branches:
- main

jobs:
build-docs:
permissions:
contents: read
name: Build Docs
uses: ansible-community/github-docs-build/.github/workflows/_shared-docs-build-pr.yml@main
with:
init-lenient: false
init-fail-on-error: true
jobs:
build-docs:
permissions:
contents: read
name: Build Docs
uses: ansible-community/github-docs-build/.github/workflows/_shared-docs-build-pr.yml@main
with:
init-lenient: false
init-fail-on-error: true

lint-docs:
permissions:
contents: read
needs:
- build-docs
steps:
- uses: actions/download-artifact@v4
with:
name: ${{ needs.build-docs.outputs.artifact-name }}
github_token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install antsibull-docs
run: pip install antsibull-docs
- name: Lint Docs
run: |
antsibull-docs lint-collection-docs \
--plugin-docs \
--validate-collection-refs=all \
--disallow-unknown-collection-refs .
lint-docs:
permissions:
contents: read
needs:
- build-docs
steps:
- uses: actions/download-artifact@v4
with:
name: ${{ needs.build-docs.outputs.artifact-name }}
github_token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install antsibull-docs
run: pip install antsibull-docs
- name: Lint Docs
run: |
antsibull-docs lint-collection-docs \
--plugin-docs \
--validate-collection-refs=all \
--disallow-unknown-collection-refs .

0 comments on commit f4088c0

Please sign in to comment.