mirror of
https://github.com/cooklang/awesome-cooklang-recipes.git
synced 2025-10-29 11:22:09 +00:00
Add linkcheck.sh that checks the links of all markdown files. Add linkcheck task to Taskfile.yaml Add link-check GitHub Action to add link checks on a daily schedule. Add mlc config file to set access codes to pass. Signed-off-by: nιcнolaѕ wιlde <ncwilde43@gmail.com>
25 lines
557 B
YAML
25 lines
557 B
YAML
---
|
|
name: link-check
|
|
on: # yamllint disable-line rule:truthy
|
|
# Schedule check each day at 8 UTC
|
|
schedule: [{cron: "0 8 * * *"}]
|
|
workflow_dispatch:
|
|
pull_request:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
markdown-link-check:
|
|
name: Markdown link check
|
|
runs-on: ubuntu-20.04
|
|
|
|
steps:
|
|
- name: Checkout repo
|
|
uses: actions/checkout@v3
|
|
- name: Check markdown links
|
|
uses: gaurav-nelson/github-action-markdown-link-check@v1
|
|
with:
|
|
file-path: './README.md'
|
|
config-file: './mlc_config.json'
|