Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions .github/workflows/check_links.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Validate URLs

on:
schedule:
- cron: '0 9 * * 1' # Every Monday at 9 AM UTC
workflow_dispatch: # Allow manual trigger
pull_request: # Just to make sure the initial PR works, this can
# later be removed

jobs:
validate-urls:
runs-on: ubuntu-latest
name: Validate repository URLs

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Validate URLs
id: validate-urls
uses: simeg/[email protected]
with:
files: '.' # Check here
recursive: true # Include sub-dirs
include-extensions: 'md' # File types to check

timeout-seconds: 5 # Request timeout in seconds
retry: 2 # Number of retries
concurrency: 10 # Concurrent requests

allow-status: '200,202,204,429' # Allowed HTTP status codes
allowlist: 'http://localhost' # Trusted domains

user-agent: 'awesome-nodejs/1.0'

Loading