Check Links #2
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 | |
# https://github.com/lycheeverse/lychee | |
name: Check Links | |
on: | |
push: | |
schedule: | |
# Run monthly | |
# GitHub actions uses UTC for time zone | |
# crontab format: minute hour day-of-month month day-of-week | |
- cron: "18 4 4 * *" | |
workflow_dispatch: | |
inputs: | |
message: | |
description: Message to display in job summary | |
required: false | |
type: string | |
override-args: | |
description: Override default arguments (see https://github.com/lycheeverse/lychee#commandline-parameters) | |
required: false | |
type: string | |
exclude: | |
description: URLs excluded from checking (need to include '--exclude' option text in string if using) | |
required: false | |
type: string | |
default: --exclude '43oh.com' | |
jobs: | |
link-checker: | |
name: Call Link Checker | |
uses: Andy4495/.github/.github/workflows/check-links.yml@main | |
with: | |
message: ${{ inputs.message }} | |
exclude: --exclude '43oh.com' | |