broken-link-checker-action

GitHub Actions to check broken links and create issues.

View project on GitHub

Broken Link Checker Action

CI Status codecov CodeFactor License: MIT

Read this in other languages: English, 日本語.

指定されたURLのページに含まれるリンク切れを検知して Issue を作成する GitHub Actions です。

Table of Contents

Details - [使用方法](#%E4%BD%BF%E7%94%A8%E6%96%B9%E6%B3%95) - [スクリーンショット](#%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88) - [オプション](#%E3%82%AA%E3%83%97%E3%82%B7%E3%83%A7%E3%83%B3) - [Author](#author)

使用方法

e.g. .github/workflows/broken-link-check.yml

on:
  schedule:
    - cron: 0 0 1 * * # run monthly
  repository_dispatch: # run manually
    types: [check-link]
  # push:
  # ...

name: Broken Link Check
jobs:
  check:
    name: Broken Link Check
    runs-on: ubuntu-latest
    steps:
      - name: Broken Link Check
        uses: technote-space/broken-link-checker-action@v2

スクリーンショット

issue

オプション

| name | description | default | required | e.g. | |:—:|:—|:—:|:—:|:—:| | TARGET | Target link | https://github.com/$ | true | https://example.com | | RECURSIVE | Recursive? | | | true | | TITLE | Issue title | Broken link found (${URL}) | true | ${URL} is broken | | BODY | Issue body | see action.yml | true | | | LABELS | Labels | | | | | ASSIGNEES | Assignees | | | | | GITHUB_TOKEN | Access token | $ | true | $ |

Author

GitHub (Technote)
Blog