Giter Site home page Giter Site logo

cam-barts / linkchecker-action Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 1.0 29 KB

Github action to check links in Markdown for non 200 status codes

Dockerfile 13.21% Python 84.31% Shell 2.48%
action link documentation dead-links markdown python python3 status-codes 404 200

linkchecker-action's Introduction

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 ]

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

linkchecker-action's People

Contributors

cam-barts avatar kapremom avatar pyguy2 avatar

Watchers

 avatar

Forkers

kapremom

linkchecker-action's Issues

Selectively ignore certain failures?

Hey Cam,

Been using link checker for a while on the APA, and I was curious, would it be possible to have a configuration file with expected failures? Seems like a few links are behind cloudflare (which blocks the checker's traffic) and other expected failures.

Thanks in advance!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.