Skip to content

Commit

Permalink
Add link checker GH Action
Browse files Browse the repository at this point in the history
  • Loading branch information
KristinaRiemer committed Sep 13, 2024
1 parent c0621aa commit ba310e9
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/links.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# action: https://github.com/lycheeverse/lychee-action
# lychee: https://github.com/lycheeverse/lychee

name: Links

on:
pull_request:
workflow_dispatch:
schedule:
#first of every month
- cron: "0 0 1 * *"

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

- name: Link Checker
id: lychee
uses: lycheeverse/lychee-action@v1

- name: Create Issue From File
if: ${{ failure() && github.event_name != 'pull_request' }}
uses: peter-evans/create-issue-from-file@v5
with:
title: Link Checker Report
content-filepath: ./lychee/out.md
labels: report, automated issue

0 comments on commit ba310e9

Please sign in to comment.