Skip to content

Commit

Permalink
fix: disable check of dead playground link (#296)
Browse files Browse the repository at this point in the history
* disable check of dead playground link to fix CI

* explicitly use https instead of http

* replace twitter.com with x.com

* Revert "replace twitter.com with x.com"

This reverts commit 9428c91.

* Revert "explicitly use https instead of http"

This reverts commit 81f26c2.

* enable quiet mode as it's otherwise hard to find broken links in all the output logs

* ignore twitter/x links as it's broken see gaurav-nelson/github-action-markdown-link-check#182
  • Loading branch information
peetzweg committed Jan 5, 2024
1 parent cc18ba9 commit a4d7ad6
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/link-check.yml
Expand Up @@ -15,6 +15,6 @@ jobs:
- uses: actions/checkout@v3
- uses: gaurav-nelson/github-action-markdown-link-check@v1
with:
use-verbose-mode: 'yes'
use-quiet-mode: 'yes'
config-file: '.github/workflows/mlc_config.json'
folder-path: 'docs/'
12 changes: 9 additions & 3 deletions .github/workflows/mlc_config.json
Expand Up @@ -11,12 +11,18 @@
],
"httpHeaders": [
{
"urls": [
"https://crates.io"
],
"urls": ["https://crates.io"],
"headers": {
"Accept": "text/html"
}
}
],
"ignorePatterns": [
{
"pattern": "^https?://twitter.com"
},
{
"pattern": "^https?://x.com"
}
]
}
1 change: 1 addition & 0 deletions docs/monthly-update/2022/05.md
Expand Up @@ -19,6 +19,7 @@ a curated list of awesome projects related to ink!.

## Playground 🕹

<!-- markdown-link-check-disable-next-line -->
The ink! playground has been published at https://ink-playground.substrate.io!

It's handy for a couple of things. For example:
Expand Down

0 comments on commit a4d7ad6

Please sign in to comment.