mirror of
https://github.com/pFarb/awesome-crypto-papers.git
synced 2024-10-01 01:05:51 -04:00
Fix action schedule, increase timeout and pin version (#23)
* Fix actions so they run only once on Sunday * Increase timeout to prevent false positives Set timeout to 60 seconds, instead of default 20. * Pin lychee version It is recommended by the lychee-action authors: https://github.com/lycheeverse/lychee-action#security-and-updates
This commit is contained in:
parent
994a614d56
commit
2a79c8842d
3
.github/workflows/links-fail-fast.yml
vendored
3
.github/workflows/links-fail-fast.yml
vendored
@ -11,8 +11,9 @@ jobs:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Link Checker
|
||||
uses: lycheeverse/lychee-action@v1
|
||||
uses: lycheeverse/lychee-action@v1.5.1
|
||||
with:
|
||||
args: --verbose --no-progress './**/*.md' './**/*.html' --timeout 60
|
||||
fail: true
|
||||
env:
|
||||
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
||||
|
6
.github/workflows/links.yml
vendored
6
.github/workflows/links.yml
vendored
@ -4,7 +4,7 @@ on:
|
||||
repository_dispatch:
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
- cron: "* * * * 0" # run every Sunday
|
||||
- cron: "00 1 * * 0" # run at 01:00 on Sundays
|
||||
|
||||
jobs:
|
||||
linkChecker:
|
||||
@ -14,7 +14,9 @@ jobs:
|
||||
|
||||
- name: Link Checker
|
||||
id: lychee
|
||||
uses: lycheeverse/lychee-action@v1
|
||||
uses: lycheeverse/lychee-action@v1.5.1
|
||||
with:
|
||||
args: --verbose --no-progress './**/*.md' './**/*.html' --timeout 60
|
||||
env:
|
||||
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user