Skip to content

Commit

Permalink
Merge pull request #1059 from phenix3443/feat/markdown-link
Browse files Browse the repository at this point in the history
feat(ci): check links
  • Loading branch information
yanyanho authored Mar 21, 2024
2 parents 9c31b3e + 8e073cd commit 84a440c
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/markdown-links.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Check Markdown links
on:
workflow_dispatch:


jobs:
markdown-link-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Link Checker
id: lychee
uses: lycheeverse/lychee-action@v1.9.0

- name: Create Issue From File
if: env.lychee_exit_code != 0
uses: peter-evans/create-issue-from-file@v4
with:
title: Link Checker Report
content-filepath: ./lychee/out.md
labels: report, automated issue
2 changes: 2 additions & 0 deletions .lycheeignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
https://sepolia.infura.io/v3
http://127.0.0.1

0 comments on commit 84a440c

Please sign in to comment.