You've already forked awesomebitcoin.cash
33 lines
796 B
YAML
33 lines
796 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:
|
|
- name: Link Checker
|
|
uses: lycheeverse/lychee-action@v1.5.1
|
|
with:
|
|
# Use different output file path
|
|
output: /tmp/out.md
|
|
env:
|
|
GITHUB_TOKEN: ${{secrets.LINKS}}
|
|
- name: Create Issue From File
|
|
uses: peter-evans/create-issue-from-file@v4
|
|
with:
|
|
title: Link Checker Report
|
|
content-filepath: /tmp/out.md
|
|
labels: report, automated issue
|