mirror of
https://github.com/FranP-code/public-apis.git
synced 2025-10-13 00:03:04 +00:00
Validate all links every day at 00:00 (#1414)
Co-authored-by: Yann Bertrand <5855339+yannbertrand@users.noreply.github.com>
This commit is contained in:
19
.github/workflows/validate_links.yml
vendored
Normal file
19
.github/workflows/validate_links.yml
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
name: "Validate links"
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: '0 0 * * *'
|
||||
|
||||
env:
|
||||
FORMAT_FILE: README.md
|
||||
|
||||
jobs:
|
||||
test:
|
||||
name: 'Validate README.md'
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Validate all links from README.md
|
||||
run: build/validate_links.sh ${FORMAT_FILE}
|
||||
Reference in New Issue
Block a user