Skip to content

Commit

Permalink
Add weekly link checker
Browse files Browse the repository at this point in the history
  • Loading branch information
Tanay Pant committed Oct 23, 2023
1 parent ac4df31 commit 6d2202a
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/weekly-link-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Weekly link check

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

jobs:
markdown-link-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: gaurav-nelson/github-action-markdown-link-check@v1
id: check
with:
use-quiet-mode: 'yes'
use-verbose-mode: 'yes'
folder-path: './'
base-branch: 'main'
- name: Create Issue
if: "${{ steps.check.outcome != 'success' }}"
uses: dacbd/create-issue-action@main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
title: Link Checker Report
labels: report, automated issue
body: "${{ steps.check.output }}"

0 comments on commit 6d2202a

Please sign in to comment.