Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions .github/workflows/links.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Links

on:
schedule:
- cron: "0 6 * * 1"
workflow_dispatch:
pull_request:
paths: ["**.md"]

jobs:
links:
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- uses: actions/checkout@v4
- uses: lycheeverse/lychee-action@v2
id: lychee
with:
# 202, 403 and 429: bot challenges and rate limits (SSD, Intel, ACM, SlideShare, Wayback)
args: --no-progress --accept 200,202,206,403,429 README.md
fail: ${{ github.event_name == 'pull_request' }}
- if: steps.lychee.outputs.exit_code != 0 && github.event_name != 'pull_request'
uses: peter-evans/create-issue-from-file@v5
with:
title: Broken links
content-filepath: ./lychee/out.md
Loading
Loading