4669036f45
Co-authored-by: Néstor Pérez <25409753+prryplatypus@users.noreply.github.com> Co-authored-by: Ryu juheon <saidbysolo@gmail.com>
33 lines
790 B
YAML
33 lines
790 B
YAML
name: Document Linter
|
|
on:
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
- "*LTS"
|
|
types: [opened, synchronize, reopened, ready_for_review]
|
|
|
|
jobs:
|
|
docsLinter:
|
|
if: github.event.pull_request.draft == false
|
|
name: Lint Documentation
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
config:
|
|
- {python-version: "3.8", tox-env: "docs"}
|
|
fail-fast: false
|
|
|
|
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Run Document Linter
|
|
uses: harshanarayana/custom-actions@main
|
|
with:
|
|
python-version: ${{ matrix.config.python-version }}
|
|
test-infra-tool: tox
|
|
test-infra-version: latest
|
|
action: tests
|
|
test-additional-args: "-e=${{ matrix.config.tox-env }}"
|