name: Link Check on: push: branches: [main] pull_request: branches: [main] schedule: # Run weekly on Sunday at 00:00 UTC - cron: '0 0 * * 0' workflow_dispatch: jobs: link-check: runs-on: ubuntu-latest steps: - name: Checkout repository uses: actions/checkout@v4 - name: Link Checker uses: lycheeverse/lychee-action@v1 with: args: --verbose --no-progress '*.md' '.github/**/*.md' fail: false env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Create Issue on Failure if: failure() uses: peter-evans/create-issue-from-file@v5 with: title: Link Check Report content-filepath: ./lychee/out.md labels: bug, automated