Files
awesomebitcoin.cash/.github/workflows/check_links.yml
T
2qx 2f1b65164b Update check_links.yml
Only check links on a schedule, only check md
2020-05-14 17:01:57 -04:00

31 lines
733 B
YAML

name: CI
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
#push:
# branches:
# - master
schedule:
# Run everyday Sunday at 4:00 UTC
- cron: "0 4 * * 0"
# A workflow to check all markdown links
jobs:
markdown-link-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Link Checker
uses: peter-evans/link-checker@v1
with:
args: -v -r *.md
- name: Create Issue From File
uses: peter-evans/create-issue-from-file@v2
with:
title: Link Checker Report
content-filepath: ./link-checker/out.md
labels: report, automated issue