Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions .github/workflows/doc-check-links.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Doc Check Links

on:
schedule:
# At 00:00 on Sunday.
# https://crontab.guru
- cron: '0 0 * * 0'
workflow_dispatch:

# Set permissions at the job level.
permissions: {}

jobs:
doc-check-links:
if: github.repository_owner == 'pytest-dev'
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v5
with:
fetch-depth: 0
persist-credentials: false

- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
cache: pip

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install tox

- name: Run sphinx linkcheck via tox
run: tox -e docs-checklinks
1 change: 1 addition & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,7 @@ Marcin Augustynów
Marcin Bachry
Marc Bresson
Marco Gorelli
Marcos Boger
Mark Abramowitz
Mark Dickinson
Mark Vong
Expand Down
1 change: 1 addition & 0 deletions changelog/12474.contrib.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Added scheduled GitHub Action Workflow to run Sphinx linkchecks in repo documentation.
Loading