Skip to content

Update cron time

Update cron time #52

# GitHub Action from: https://github.com/gaurav-nelson/github-action-markdown-link-check
# Uses code from: https://github.com/tcort/markdown-link-check
# Be sure to also create a file named "mlc_config.json" with the following contents:
# {
# "aliveStatusCodes": [429, 403, 200]
# }
name: Check Markdown 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: "1 4 4 * *"
workflow_dispatch:
inputs:
message:
description: Message to display in job summary
required: false
type: string
workflow_call:
inputs:
message:
description: Message to display in job summary
required: false
type: string
jobs:
markdown-link-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: gaurav-nelson/github-action-markdown-link-check@v1
with:
base-branch: main
use-verbose-mode: yes
# config file is used to flag several HTTP result codes as a valid "alive" results
config-file: './.github/workflows/mlc_config.json'
- name: Print the job summary
if: ${{ inputs.message }}
run: |
echo ${{ inputs.message }} >$GITHUB_STEP_SUMMARY