2021-03-01 18:49:12 +00:00
|
|
|
name: Check links
|
|
|
|
|
|
|
|
on:
|
|
|
|
workflow_dispatch:
|
|
|
|
schedule:
|
|
|
|
- cron: '0 12 */7 * *'
|
|
|
|
|
|
|
|
jobs:
|
2021-05-16 18:53:48 +00:00
|
|
|
check:
|
2021-03-01 18:49:12 +00:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2022-03-02 04:10:52 +00:00
|
|
|
- uses: actions/checkout@v3
|
2021-03-01 18:49:12 +00:00
|
|
|
- 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
|
2021-05-16 18:53:48 +00:00
|
|
|
run: awesome_bot README.md --request-delay 1 --allow-ssl --allow-timeout -t 5 --allow-dupe --white-list sho.rt,your.site,long.url,awesome.re
|
2022-03-04 04:09:48 +00:00
|
|
|
- uses: actions/upload-artifact@v3
|
2021-03-01 18:49:12 +00:00
|
|
|
if: failure()
|
|
|
|
with:
|
|
|
|
name: ab-results
|
|
|
|
path: ab-results-README.md-filtered.json
|