diff --git a/.github/workflows/links.yml b/.github/workflows/links.yml new file mode 100644 index 000000000..ef4b5013f --- /dev/null +++ b/.github/workflows/links.yml @@ -0,0 +1,26 @@ +name: Links + +on: + workflow_dispatch: + schedule: + - cron: "0 0 * * *" # Every day at midnight + pull_request: + paths: + - ".github/workflows/links.yml" + +jobs: + check: + runs-on: ubuntu-latest + name: lychee + timeout-minutes: 15 + steps: + - uses: actions/checkout@v3 + + - uses: lycheeverse/lychee-action@v1.8.0 + with: + # Fail action on broken links + fail: true + args: --exclude-path vendor --no-progress './**/*.md' + format: markdown + # Write GitHub job summary + jobSummary: true