Links validity (twice a month) #24
This file contains 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
# https://github.com/lycheeverse/lychee-action/ | |
name: Links validity (twice a month) | |
on: | |
repository_dispatch: | |
workflow_dispatch: | |
schedule: | |
- cron: "08 02 9,24 * *" | |
jobs: | |
linkChecker: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Check links | |
uses: lycheeverse/[email protected] | |
with: | |
args: 'https://blog.mehdi.cc' | |
- name: Create issue | |
if: env.lychee_exit_code != 0 | |
uses: peter-evans/create-issue-from-file@v4 | |
with: | |
title: Lychee Report | |
content-filepath: ./lychee/out.md | |
labels: ci |