Skip to content

Commit

Permalink
Add link check workflow (#257)
Browse files Browse the repository at this point in the history
* Add link check workflow

* Fix errors

---------

Co-authored-by: Tanay Pant <tanaypantprotonmail.com>
  • Loading branch information
tanay1337 authored Oct 23, 2023
1 parent dc399b3 commit f665bf1
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 1 deletion.
25 changes: 25 additions & 0 deletions .github/workflows/link-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Link check

on:
repository_dispatch:
workflow_dispatch:
schedule:
- cron: "0 9 * * 1"

jobs:
linkChecker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Link Checker
id: lychee
uses: lycheeverse/[email protected]

- name: Create Issue From File
if: env.lychee_exit_code != 0
uses: peter-evans/create-issue-from-file@v4
with:
title: Link Checker Report
content-filepath: ./lychee/out.md
labels: report, automated issue
1 change: 0 additions & 1 deletion .github/workflows/report-readability.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,3 @@ jobs:
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
glob: '**/*.md'
fail_on_error: true
1 change: 1 addition & 0 deletions .github/workflows/style-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ jobs:
uses: errata-ai/vale-action@reviewdog
with:
vale_flags: "--glob=*.md"
fail_on_error: true

0 comments on commit f665bf1

Please sign in to comment.