Skip to content

Commit

Permalink
Build: Exclude twitter.com from spider-check
Browse files Browse the repository at this point in the history
```
- url:     https://twitter.com/qunitjs
  error:   The HTTP server returned a redirect error that would lead to an infinite loop.
```
  • Loading branch information
Krinkle committed Oct 13, 2023
1 parent 757fb8a commit bc86215
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 deletions.
5 changes: 5 additions & 0 deletions .github/configs/hydra-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"exclude_scheme_prefixes": [
"https://twitter.com/"
]
}
7 changes: 3 additions & 4 deletions .github/workflows/spider-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
repository: jquery/hydra-link-checker
ref: v2.0.0

- name: Run hydra-link-checker
run: python3 hydra.py "$MY_SITE"
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
2 changes: 1 addition & 1 deletion docs/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ amethyst:
#
# Example: https://github.com/qunitjs/qunit/releases/tag/
release_base:
# Mastodon account URL (e.g. "https://mastodon.technology/@qunitjs")
# Mastodon account URL (e.g. "https://example.org/@qunitjs")
mastodon:
# Twitter.com username (without "@")
twitter:
Expand Down
2 changes: 1 addition & 1 deletion index.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ home_secondary_btn:

## Join the Community

<p class="lead lead--center" markdown="1">Join us on [Mastodon](https://mastodon.technology/@qunitjs), [Twitter](https://twitter.com/qunitjs), or [Gitter chat](https://gitter.im/qunitjs/qunit).</p>
<p class="lead lead--center" markdown="1">Follow us on [Mastodon](https://qunitjs.com#mastodon), or join our [Matrix chat](https://qunitjs.com#matrix).</p>

To contribute:

Expand Down

0 comments on commit bc86215

Please sign in to comment.