Broken URL check #137
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |