Skip to content

Commit

Permalink
Merge pull request #2736 from timber/2.x-ci-docs-link-checker
Browse files Browse the repository at this point in the history
  • Loading branch information
nlemoine committed May 17, 2023
2 parents 97d6655 + e4b5fdb commit 00e03e0
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/links.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Docs links checker

on:
repository_dispatch:
workflow_dispatch:
schedule:
- cron: "0 0 * * SUN"

jobs:
linkChecker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Link Checker
id: lychee
uses: lycheeverse/lychee-action@v1.7.0
with:
args: --max-concurrency=32
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: docs

0 comments on commit 00e03e0

Please sign in to comment.