diff --git a/.github/configs/hydra-config.json b/.github/configs/hydra-config.json index 3340c1f9..e46add9b 100644 --- a/.github/configs/hydra-config.json +++ b/.github/configs/hydra-config.json @@ -3,12 +3,14 @@ "2023-05: twitter.com serves broken redirect-loop", "2025-04: The oembed endpoint responds HTTP 429 Too Many Requests too often; perhaps because almost every page links to one", "2026-03 code-of-conduct.openjsf.org serves 429 Too Many Requests too often", - "2026-03: twitter.com used to serve a broken redirect-loop and we expect x.com to be doing the same" + "2026-03: twitter.com used to serve a broken redirect-loop and we expect x.com to be doing the same", + "2026-04: packtpub.com returns 403 when accessed from a bot" ], "exclude_scheme_prefixes": [ "https://twitter.com/", "https://api.jquery.com/wp-json/oembed/1.0/embed", "https://code-of-conduct.openjsf.org/", - "https://x.com/" + "https://x.com/", + "https://www.packtpub.com" ] } diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 52cc3641..81e14296 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -18,7 +18,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 - name: Update apt-get cache run: sudo apt-get update - name: Install xmllint diff --git a/.github/workflows/spider-check.yaml b/.github/workflows/spider-check.yaml index 360b8f65..ce38c040 100644 --- a/.github/workflows/spider-check.yaml +++ b/.github/workflows/spider-check.yaml @@ -2,14 +2,10 @@ name: spider-check on: # Once a week on Friday at 00:00 schedule: - - cron: '0 0 * * 5' + - cron: "0 0 * * 5" # Or manually workflow_dispatch: # Or when developing this workflow - push: - paths: - - .github/workflows/spider-check.yaml - - .github/configs/hydra-config.json pull_request: paths: - .github/workflows/spider-check.yaml @@ -24,7 +20,7 @@ jobs: MY_SITE: https://api.jquery.com steps: - name: Checkout - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 - name: Run hydra-link-checker run: | diff --git a/.github/workflows/typesense.yaml b/.github/workflows/typesense.yaml index df4b257d..2a6cda51 100644 --- a/.github/workflows/typesense.yaml +++ b/.github/workflows/typesense.yaml @@ -17,7 +17,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 - name: Docsearch Scraper shell: bash run: |