Skip to content

Add social preview image #2

Add social preview image

Add social preview image #2

Workflow file for this run

name: Links
on:
pull_request:
push:
branches: [main]
schedule:
- cron: "17 6 * * 1"
workflow_dispatch:
permissions:
contents: read
issues: write
jobs:
check-links:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Check links
id: lychee
uses: lycheeverse/lychee-action@v2
with:
args: --no-progress --max-retries 3 --accept 200,206,403,429 README.md
fail: ${{ github.event_name != 'schedule' }}
- name: Open an issue for broken links
if: github.event_name == 'schedule' && steps.lychee.outputs.exit_code != 0
uses: peter-evans/create-issue-from-file@v5
with:
title: Broken links found
content-filepath: ./lychee/out.md
labels: maintenance