mirror of
https://github.com/rockerBOO/awesome-neovim
synced 2025-02-19 12:58:24 +00:00
Add link checker
This commit is contained in:
parent
b0e71999f2
commit
88a3485c42
1 changed files with 25 additions and 0 deletions
25
.github/workflows/links.yml
vendored
Normal file
25
.github/workflows/links.yml
vendored
Normal file
|
@ -0,0 +1,25 @@
|
|||
name: Links
|
||||
|
||||
on:
|
||||
repository_dispatch:
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
- cron: "00 18 * * *"
|
||||
|
||||
jobs:
|
||||
linkChecker:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Link checker
|
||||
id: lychee
|
||||
uses: lycheeverse/lychee-action@v1.8.0
|
||||
|
||||
- name: Create issue from file
|
||||
if: env.lychee_exit_code != 0
|
||||
uses: peter-evans/create-issue-from-file@v4
|
||||
with:
|
||||
title: "Remove `..`"
|
||||
content-filepath: ./lychee/out.md
|
||||
labels: report, automated issue
|
Loading…
Add table
Reference in a new issue