mirror of
https://github.com/MunGell/awesome-for-beginners.git
synced 2026-05-01 21:30:05 -07:00
Feat: add GitHub Action for automatic link checking (closes #1786)
This commit is contained in:
@@ -0,0 +1,25 @@
|
|||||||
|
name: Link Checker
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
schedule:
|
||||||
|
- cron: '0 0 * * 0'
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
check-links:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout repository
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Run Lychee link checker
|
||||||
|
uses: lycheeverse/lychee-action@v1
|
||||||
|
with:
|
||||||
|
args: >
|
||||||
|
--verbose
|
||||||
|
--no-progress
|
||||||
|
--exclude-mail
|
||||||
|
--timeout 10
|
||||||
|
data.json
|
||||||
Reference in New Issue
Block a user