Check links #352
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# 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 |