added lychee github action

This commit is contained in:
beth0 2023-01-16 08:15:19 +02:00
parent 347c9aa83a
commit fe0b83a3a3
3 changed files with 55 additions and 6 deletions

37
.github/workflows/lychee-action.yml vendored Normal file
View File

@ -0,0 +1,37 @@
name: Validate Links
on:
# [push]
repository_dispatch:
workflow_dispatch:
schedule:
- cron: "00 18 * * *"
jobs:
linksValidation:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Validate Links
id: lychee
uses: lycheeverse/lychee-action@v1.5.4
with:
# Check all markdown and html files in repo (default)
args: --no-progress --timeout 40 --retry-wait-time 3 --max-redirects 10 -a 200,403 './README.md'
# Use json as output format (instead of markdown)
# format: json
# Use different output file path
# output: /tmp/foo.txt
# Fail action on broken links
# fail: true
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
- name: Create Issue From File
if: env.lychee_exit_code != 0
uses: peter-evans/create-issue-from-file@v4
with:
title: Validate Links Report
content-filepath: ./lychee/out.md
labels: report, automated issue

8
.lycheeignore Normal file
View File

@ -0,0 +1,8 @@
https://www.deck.rocks/
http://unrealspeech.up.railway.app/
http://textgeneratedimagegenerate.streamlit.app
https://github.com/.*
http://staccato.ai
http://secure.scribebuddy.com/
http://airoomplanner.com/
http://webapi.ai/

View File

@ -10,11 +10,16 @@
--- ---
<div align="center"> <div align="center">
<sup>Status</sup> <h4>Status</h4>
<br />
<a href="https://github.com/public-apis/public-apis"> <a href="https://github.com/public-apis/public-apis">
<img alt="Number of AI Projects" src="https://img.shields.io/static/v1?message=Number%20of%20AI%20Projects&color=informational&style=flat-square&label=819" /> <img alt="Number of AI Projects" src="https://img.shields.io/static/v1?message=Number%20of%20AI%20Projects&color=informational&style=flat-square&label=819" />
</a> </a>
[![Validate Links](https://github.com/ai-collection/ai-collection/actions/workflows/lychee-action.yml/badge.svg)](https://github.com/ai-collection/ai-collection/actions/workflows/lychee-action.yml)
</div> </div>
--- ---
@ -847,7 +852,6 @@ No technical skills or software download required.</p>
| [Squish](http://chrome.google.com) | Google Chrome - Download The Fast, Secure Browser From Google. | . | :grey_question: | | [Squish](http://chrome.google.com) | Google Chrome - Download The Fast, Secure Browser From Google. | . | :grey_question: |
| [Stable Diffusion Prompt Generator](http://www.thomas.io) | Thomas.Io. | . | :grey_question: | | [Stable Diffusion Prompt Generator](http://www.thomas.io) | Thomas.Io. | . | :grey_question: |
| [Stabledojo](http://www.stabledojo.com) | Stabledojo. | . | :grey_question: | | [Stabledojo](http://www.stabledojo.com) | Stabledojo. | . | :grey_question: |
| [Staccato](http://staccato.ai) | Staccato - The Artificially Intelligent Music & Lyrics Co-Writer. | . | :grey_question: |
| [Starryai](http://starryai.com) | Starryai - Ai Art Generator App - Ai Art Maker. | Simply enter a prompt and our AI transforms your words into works of art. | :grey_question: | | [Starryai](http://starryai.com) | Starryai - Ai Art Generator App - Ai Art Maker. | Simply enter a prompt and our AI transforms your words into works of art. | :grey_question: |
| [Starryai](http://www.starryai.com) | Starryai - Ai Art Generator App - Ai Art Maker. | Simply enter a prompt and our AI transforms your words into works of art. | :grey_question: | | [Starryai](http://www.starryai.com) | Starryai - Ai Art Generator App - Ai Art Maker. | Simply enter a prompt and our AI transforms your words into works of art. | :grey_question: |
| [Startup Pitch Generator](http://tally.so) | Free Online Form Builder. | Create forms for all purposes in seconds.Without knowing how to code. | :white_check_mark: | | [Startup Pitch Generator](http://tally.so) | Free Online Form Builder. | Create forms for all purposes in seconds.Without knowing how to code. | :white_check_mark: |