forked from cf-convention/cf-convention.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (31 loc) · 966 Bytes
/
check_links.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#
# GitHub Actions Workflow for pull request events against main
# check for problems in links.
name: Check links
on:
pull_request:
branches: [ main ]
schedule:
- cron: '23 8 * * 1'
workflow_dispatch:
jobs:
check_links:
name: Check Markdown links # TODO: Check also Asciidoc (this should take place in https://github.com/cf-convention/cf-conventions)
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Check links
uses: lycheeverse/[email protected]
- name: Upload report
if: ${{ always() }}
uses: actions/upload-artifact@v1
with:
name: Link check report
path: ./lychee/out.md
- name: Create Issue From File
uses: peter-evans/[email protected]
with:
title: Link Checker Report
content-filepath: ./lychee/out.md
labels: report, automated issue