Skip to content

Link Checker

Link Checker #310

Workflow file for this run

name: "Link Checker"
on: # yamllint disable-line rule:truthy
workflow_dispatch:
schedule:
- cron: "21 7 * * *"
jobs:
link-checker:
name: Link Checker
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- name: Link Checker
uses: lycheeverse/lychee-action@c053181aa0c3d17606addfe97a9075a32723548a # v1.9.3
id: lychee
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
- name: Find Link Checker Issue
id: link-checker-issue
uses: micalevisk/last-issue-action@0d40124cc99ac8601c2516007f0c98ef3d27537b # v2
with:
state: open
labels: |
link-checker
- name: Update Issue
uses: peter-evans/create-issue-from-file@433e51abf769039ee20ba1293a088ca19d573b7f # v4
with:
title: Broken links detected in docs 🔗
issue-number: "${{ steps.link-checker-issue.outputs.issue-number }}"
content-filepath: ./lychee/out.md
token: "${{ secrets.GITHUB_TOKEN }}"
labels: |
link-checker