Some checks are pending
Check Stream Links / Link Checker (push) Waiting to run
29 lines
1.0 KiB
YAML
29 lines
1.0 KiB
YAML
name: Check Stream Links
|
|
|
|
# This defines WHEN the workflow runs
|
|
on:
|
|
push:
|
|
branches: [ "main" ] # Runs every time you push a change to the main branch
|
|
schedule:
|
|
- cron: '0 0 * * 1' # Runs automatically once a week (every Monday at midnight UTC)
|
|
workflow_dispatch: # Allows you to manually trigger the check from the Actions tab
|
|
|
|
# This defines WHAT the workflow does
|
|
jobs:
|
|
lychee:
|
|
name: Link Checker
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Run Link Checker (lychee)
|
|
# This uses the external lycheeverse/lychee-action tool
|
|
uses: lycheeverse/lychee-action@v1
|
|
with:
|
|
# Arguments tell the tool what to check:
|
|
# --max-retries 2: Tries a link twice if it fails
|
|
# --max-concurrency 5: Limits simultaneous checks to avoid getting blocked
|
|
# 'README.md': Checks only the README.md file
|
|
args: --max-retries 2 --max-concurrency 5 --exclude 'localhost' 'README.md'
|