diff --git a/.github/workflows/links.yml b/.github/workflows/links.yml index 0435c5a9..b4f204a8 100644 --- a/.github/workflows/links.yml +++ b/.github/workflows/links.yml @@ -25,5 +25,8 @@ jobs: ignore_missing_alt: true ignore_url_re: | ^https:\/\/twitter.com\/CleanlabAI + tokens: | + {"https://github.com": "${{ secrets.GITHUB_TOKEN }}"} swap_urls: | - {"^(\\..*)\\.md(#?.*)$": "\\1.md.html\\2", \ No newline at end of file + {"^(\\..*)\\.md(#?.*)$": "\\1.md.html\\2", + "^(https://github\\.com/.*)#.*$": "\\1"} \ No newline at end of file