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:
parent
7a8c7ed731
commit
c93a862537
2 changed files with 32 additions and 0 deletions
6
.github/dependabot.yml
vendored
Normal file
6
.github/dependabot.yml
vendored
Normal 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
26
.github/workflows/check-links.yml
vendored
Normal 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
|
Loading…
Reference in a new issue