Skip to content

Merge branch 'main' into cve-2024-22048 #165

Merge branch 'main' into cve-2024-22048

Merge branch 'main' into cve-2024-22048 #165

Workflow file for this run

name: Check for broken links
on:
workflow_dispatch:
pull_request:
paths:
- "source/**"
jobs:
linkChecker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Link Checker
id: lychee
uses: lycheeverse/lychee-action@v1.8.0
with:
args: --verbose --exclude-mail --no-progress './**/*.md' './**/*.html' './**/*.erb' --accept 403,200,429
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
- name: Create Issue From File
if: env.lychee_exit_code != 0
uses: peter-evans/create-issue-from-file@v4
with:
title: Link Checker Report
content-filepath: ./lychee/out.md
labels: documentation
container:
image: ministryofjustice/tech-docs-github-pages-publisher:v3.0.1
steps:

Check failure on line 32 in .github/workflows/check-links.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/check-links.yml

Invalid workflow file

You have an error in your yaml syntax on line 32
- uses: actions/checkout@v4
- name: htmlproofer
run: /scripts/deploy.sh no-repository-changes