Skip to content

Broken URL check

Broken URL check #127

Workflow file for this run

on:
schedule:
# Every Monday at 6 am
- cron: '0 6 * * 1'
workflow_dispatch:
concurrency:
group: url-${{ github.ref }}
cancel-in-progress: true
name: Broken URL check
jobs:
markdown-link-check:
runs-on: ubuntu-latest
steps:
- id: checkout
name: Checkout Repository
uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.GITHUB_TOKEN }}
- name: Setup Nodejs
uses: actions/setup-node@v4
with:
node-version: "20"
- name: URL Checker
run: make verify-url-links-ci
- name: URL Rate Limit Checker
run: make verify-rate-limited-links-ci
- name: Post Comment
run: |
cd scripts
./url-checker.sh
env:
ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
OWNER: ${{ github.repository_owner }}
REPO: ${{ github.event.repository.name }}
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}