[chore] Fix 404 deadlinks for Cloudfoundry buildpack due to docs moving #3953
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
branches: | |
- main | |
paths: | |
- '**.md' | |
- '.github/workflows/lychee.yml' | |
- '.lychee.toml' | |
pull_request: | |
paths: | |
- '**.md' | |
- '.github/workflows/lychee.yml' | |
- '.lychee.toml' | |
schedule: | |
- cron: "0 0 * * 1" | |
jobs: | |
linkChecker: | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: lychee Link Checker | |
id: lychee | |
uses: lycheeverse/[email protected] | |
with: | |
lycheeVersion: v0.18.1 | |
args: -v -n --config .lychee.toml './*.md' './**/*.md' | |
fail: true | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Create Issue From File | |
if: failure() && github.event_name == 'schedule' | |
uses: peter-evans/create-issue-from-file@v5 | |
with: | |
title: Link Checker Report | |
content-filepath: ./lychee/out.md | |
labels: report, automated issue |