chore: set link checker to once a week

This commit is contained in:
Devin Buhl authored and GitHub committed 2023-02-03 17:23:42 -05:00
1 parent d0ddc26db8
commit 6d02c9ca5c
1 file changed
+1 -16
+1 -16
View File
@@ -4,7 +4,7 @@ name: "Link Check"
on:
workflow_dispatch:
schedule:
- cron: "0 * * * *"
- cron: "0 0 * * 0"
jobs:
link-check:
@@ -14,26 +14,11 @@ jobs:
- name: Checkout
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
- name: Restore lychee cache
uses: actions/cache@627f0f41f6904a5b1efbaed9f96d9eb58e92e920 # v3.2.4
with:
path: .lycheecache
key: cache-lychee-${{ github.sha }}
restore-keys: cache-lychee-
- name: Link Checker
uses: lycheeverse/lychee-action@4dcb8bee2a0a4531cba1a1f392c54e8375d6dd81 # renovate: tag=v1.5.4
id: lychee
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
with:
args: >
--cache
--max-cache-age 1d
--verbose
--no-progress
--exclude-mail
'./**/*.md'
- name: Find Link Checker Issue
id: link-checker-issue