Skip to content
Discussion options

You must be logged in to vote

Hi @minx-nie,

Great question! Here's a complete solution for automated link checking:

Option 1: Using lychee (Recommended)

Create .github/workflows/link-checker.yml:

name: Link Checkeron: schedule: - cron: '0 0 * * 0'# Every Sunday at midnightworkflow_dispatch: # Allow manual triggerjobs: check-links: runs-on: ubuntu-lateststeps: - uses: actions/checkout@v4 - name: Check Linksuses: lycheeverse/lychee-action@v1with: args: --verbose --no-progress README.mdfail: true - name: Create Issue on Failureif: failure()uses: actions/github-script@v7with: script: |

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected byminx-nie
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment
Category
Actions
Labels
ActionsBuild, test, and automate your deployment pipeline with world-class CI/CDQuestionAsk and answer questions about GitHub features and usageMiscGeneral discussions about GitHub Actions that don't fit other found themes.
3 participants
@minx-nie@shivaganesht@ThanhNguyxn