https://github.com/technote-space/broken-link-checker-action
GitHub Actions to check broken links and create issues.
https://github.com/technote-space/broken-link-checker-action
broken-links github-actions
Last synced: 8 months ago
JSON representation
GitHub Actions to check broken links and create issues.
- Host: GitHub
- URL: https://github.com/technote-space/broken-link-checker-action
- Owner: technote-space
- License: mit
- Archived: true
- Created: 2020-03-07T04:20:52.000Z (over 6 years ago)
- Default Branch: main
- Last Pushed: 2022-11-27T09:06:34.000Z (over 3 years ago)
- Last Synced: 2025-09-14T01:24:04.657Z (9 months ago)
- Topics: broken-links, github-actions
- Language: TypeScript
- Homepage:
- Size: 9.9 MB
- Stars: 25
- Watchers: 2
- Forks: 6
- Open Issues: 8
-
Metadata Files:
- Readme: README.ja.md
- Contributing: .github/CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# Broken Link Checker Action
[](https://github.com/technote-space/broken-link-checker-action/actions)
[](https://codecov.io/gh/technote-space/broken-link-checker-action)
[](https://www.codefactor.io/repository/github/technote-space/broken-link-checker-action)
[](https://github.com/technote-space/broken-link-checker-action/blob/main/LICENSE)
*Read this in other languages: [English](README.md), [日本語](README.ja.md).*
指定された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`
```yaml
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
```
## スクリーンショット

## オプション
| name | description | default | required | e.g. |
|:---:|:---|:---:|:---:|:---:|
| TARGET | Target link | `https://github.com/${{ github.repository }}` | true | `https://example.com` |
| RECURSIVE | Recursive? | | | `true` |
| TITLE | Issue title | `Broken link found (${URL})` | true | `${URL} is broken` |
| BODY | Issue body | see [action.yml](action.yml) | true | |
| LABELS | Labels | | | |
| ASSIGNEES | Assignees | | | |
| GITHUB_TOKEN | Access token | `${{github.token}}` | true | `${{secrets.ACCESS_TOKEN}}` |
## Author
[GitHub (Technote)](https://github.com/technote-space)
[Blog](https://technote.space)