Skip to content

Build: Bump the github-actions group with 2 updates #85

Build: Bump the github-actions group with 2 updates

Build: Bump the github-actions group with 2 updates #85

Workflow file for this run

name: spider-check
on:
# Once a week on Friday at 00:00
schedule:
- cron: '0 0 * * 5'
# Or manually
workflow_dispatch:
# Or when developing this workflow
push:
paths:
- .github/workflows/spider-check.yaml
pull_request:
paths:
- .github/workflows/spider-check.yaml
jobs:
spider-check:
if: ${{ github.repository_owner == 'jquery' }} # skip on forks
runs-on: ubuntu-latest
env:
# Site address to crawl
MY_SITE: https://api.jquery.com
steps:
- name: Checkout
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- name: Run hydra-link-checker
run: |
curl -O https://raw.githubusercontent.com/jquery/hydra-link-checker/v2.0.0/hydra.py
python3 hydra.py "$MY_SITE" --config .github/configs/hydra-config.json