Skip to content

check-for-broken-links #4966

check-for-broken-links

check-for-broken-links #4966

Workflow file for this run

name: check-for-broken-links
on:
schedule:
- cron: '0 8 * * *'
pull_request:
jobs:
broken-links:
runs-on: ubuntu-latest
if: ${{ !contains(github.event.pull_request.labels.*.name, 'allow-broken-links') }}
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: '3.10'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pkgmt
- name: Check for broken links
run: |
pkgmt check-links --only-404