https://github.com/cam-barts/linkchecker-action
Github action to check links in Markdown for non 200 status codes
https://github.com/cam-barts/linkchecker-action
200 404 404-errors 404-pages 404-template action dead-links deadlink-finder documentation hacktoberfest link markdown python python3 status-codes
Last synced: 2 months ago
JSON representation
Github action to check links in Markdown for non 200 status codes
- Host: GitHub
- URL: https://github.com/cam-barts/linkchecker-action
- Owner: cam-barts
- Created: 2020-01-13T17:33:46.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-10-24T20:36:45.000Z (over 4 years ago)
- Last Synced: 2025-03-07T23:41:37.654Z (3 months ago)
- Topics: 200, 404, 404-errors, 404-pages, 404-template, action, dead-links, deadlink-finder, documentation, hacktoberfest, link, markdown, python, python3, status-codes
- Language: Python
- Homepage:
- Size: 28.3 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# Link Checker
This action takes checks each link in a repository, and returns that link's status code if it isn't 200.## Example usage
- Run a cron every 5 minutes and on every push
\[ .gihub\workflows\myworkflow.yml \]
```yml
on:
schedule:
- cron: '*/5 * * * *'
push:
name: Link Checker
jobs:
linkchecker:
name: linkchecker
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: linkchecker
uses: cam-barts/linkchecker-action@master
```## Example Output
```
https://github.com/sdras/awesome-actions/actions?workflow=Lint+Awesome+List got status code 404 (./Readme.md)
```## Known Issues
- 404's on workflows (see above example)
- No way to exclude links from output
- No way to change verbosity
- Only prints the output, doesn't do anything further (such as open an issue)
- Not exactly beautiful## PULL REQUESTS WELCOME