Check links

Every 7 days and on push, we'll have [awesome-bot](https://github.com/dkhamsing/awesome_bot) checking all links.

Co-authored-by: Léo Colombaro <git@colombaro.fr>
This commit is contained in:
྅༻ Ǭɀħ ༄༆ཉ 2021-03-01 19:49:12 +01:00 committed by GitHub
parent 7a8c7ed731
commit c93a862537
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 32 additions and 0 deletions

6
.github/dependabot.yml vendored Normal file
View file

@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: github-actions
directory: "/"
schedule:
interval: daily

26
.github/workflows/check-links.yml vendored Normal file
View file

@ -0,0 +1,26 @@
name: Check links
on:
push:
workflow_dispatch:
schedule:
- cron: '0 12 */7 * *'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7.2
- name: Install Awesome Bot
run: gem install awesome_bot
- name: Run Awesome Bot
run: awesome_bot README.md --request-delay 1 --allow-timeout -t 5 --allow-dupe --white-list sho.rt,your.site,long.url,awesome.re
- uses: actions/upload-artifact@v1
if: failure()
with:
name: ab-results
path: ab-results-README.md-filtered.json