Skip to content

Linkcheck on PR

Linkcheck on PR #80

Workflow file for this run

name: Broken link check
on:
page_build
pull_request:

Check failure on line 4 in .github/workflows/linkcheck.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/linkcheck.yml

Invalid workflow file

You have an error in your yaml syntax on line 4
branches: [ main ]
jobs:
broken_link_checker_job:
runs-on: ubuntu-latest
name: Check for broken links
steps:
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.10'
- run: pip3 install linkchecker
- name: Link Checker
id: link-report
run: linkchecker -ofailures --check-extern --ignore-url="\s*\.md" https://hupo-psi.github.io/mzQC/
- name: Get the result
run: echo linkchecker/failures