Skip to content
This repository has been archived by the owner on Jan 10, 2025. It is now read-only.

Commit

Permalink
Create check_links.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
Azathothas authored Nov 27, 2024
1 parent 6f76e48 commit 1094cd9
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/check_links.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
#https://github.com/lycheeverse/lychee-action
name: 🔎 Check Links 🔗

on:
repository_dispatch:
workflow_dispatch:
schedule:
- cron: "15 0 * * *" #12:15 AM UTC --> 06:00 AM NPT

jobs:
linkChecker:
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- uses: actions/checkout@v4
with:
path: main
filter: "blob:none"

- name: Link Checker
id: lychee
uses: lycheeverse/lychee-action@v2
with:
fail: false

- name: Create Issue From File
if: steps.lychee.outputs.exit_code != 0
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 1094cd9

Please sign in to comment.