Skip to content

Catalog link audit

Catalog link audit #1

Workflow file for this run

name: Catalog link audit
on:
schedule:
- cron: "23 1 * * 1"
workflow_dispatch:
permissions:
contents: read
concurrency:
group: catalog-link-audit
cancel-in-progress: false
jobs:
audit:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Check out repository
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Set up Python
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
with:
python-version-file: ".python-version"
cache: pip
- name: Install Python dependencies
run: python -m pip install --disable-pip-version-check -r requirements.lock.txt
- name: Prepare report directory
run: mkdir -p reports
- name: Check every catalog link
run: python tools/check_links.py --mode all --output reports/link-check.json
- name: Upload link report
if: ${{ always() }}
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: catalog-link-report-${{ github.run_id }}
path: reports/link-check.json
if-no-files-found: error
retention-days: 14