mirror of
https://github.com/emmabostian/developer-portfolios.git
synced 2025-04-20 21:28:00 +00:00
added broken link checker
This commit is contained in:
parent
4a2e94bd88
commit
af4e603f7b
19
.github/workflows/link-checker.yaml
vendored
Normal file
19
.github/workflows/link-checker.yaml
vendored
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: master
|
||||||
|
name: Check markdown links
|
||||||
|
jobs:
|
||||||
|
linkChecker:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Link Checker
|
||||||
|
uses: peter-evans/link-checker@v1
|
||||||
|
with:
|
||||||
|
args: README.md
|
||||||
|
- name: Create Issue From File
|
||||||
|
uses: peter-evans/create-issue-from-file@v2
|
||||||
|
with:
|
||||||
|
title: "[Bot] Broken Links Report"
|
||||||
|
content-filepath: ./link-checker/out.md
|
||||||
|
labels: report
|
Loading…
Reference in New Issue
Block a user