Skip to content

Commit

Permalink
Add localhost to ignored Linkspector URLs (#100)
Browse files Browse the repository at this point in the history
# Add localhost to ignored Linkspector URLs

## ♻️ Current situation & Problem
`localhost` URLs are checked by Linkspector. Example of failing action:
https://github.com/StanfordBDHG/ENGAGE-HF-Web-Frontend/pull/116/checks?check_run_id=36385190565

## ⚙️ Release Notes 
* Add localhost to ignored Linkspector URLs

## ✅ Testing
Tested here:

https://github.com/StanfordBDHG/ENGAGE-HF-Web-Frontend/pull/117/checks?check_run_id=36434336444

### Code of Conduct & Contributing Guidelines 

By submitting creating this pull request, you agree to follow our [Code
of
Conduct](https://github.com/StanfordBDHG/.github/blob/main/CODE_OF_CONDUCT.md)
and [Contributing
Guidelines](https://github.com/StanfordBDHG/.github/blob/main/CONTRIBUTING.md):
- [x] I agree to follow the [Code of
Conduct](https://github.com/StanfordBDHG/.github/blob/main/CODE_OF_CONDUCT.md)
and [Contributing
Guidelines](https://github.com/StanfordBDHG/.github/blob/main/CONTRIBUTING.md).
  • Loading branch information
arkadiuszbachorski authored Jan 30, 2025
1 parent bd9aec0 commit b77e829
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/markdown-link-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ jobs:
echo "useGitIgnore: true" >> $CONFIG_FILE
echo "ignorePatterns:" >> $CONFIG_FILE
echo " - pattern: '^doc:.*$'" >> $CONFIG_FILE
echo " - pattern: '^http://localhost.*$'" >> $CONFIG_FILE
echo "replacementPatterns:" >> $CONFIG_FILE
echo " - pattern: '(.*)#gh-dark-mode-only'" >> $CONFIG_FILE
echo " replacement: '\$1'" >> $CONFIG_FILE
Expand Down

0 comments on commit b77e829

Please sign in to comment.