Skip to content

Commit

Permalink
feat(ci): Added urlchecker.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ColinKennedy committed Oct 26, 2024
1 parent 83a7ee6 commit 6e9fdd6
Show file tree
Hide file tree
Showing 2 changed files with 57 additions and 1 deletion.
55 changes: 55 additions & 0 deletions .github/workflows/urlchecker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
name: URLChecker

on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
branches:
- main
push:
branches:
- main

jobs:
urlchecker:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: urlcheck - doc directory
uses: urlstechie/urlchecker-action@master
with:
subfolder: doc
# TODO: Check if I can just check all file types with an empty string for glob
file_types: .json,.lua,.md,.txt,.vim,.yml

- uses: actions/checkout@v2
- name: urlcheck - lua directory
uses: urlstechie/urlchecker-action@master
with:
subfolder: lua
# TODO: Check if I can just check all file types with an empty string for glob
file_types: .json,.lua,.md,.txt,.vim,.yml

- uses: actions/checkout@v2
- name: urlcheck - plugin directory
uses: urlstechie/urlchecker-action@master
with:
subfolder: plugin
# TODO: Check if I can just check all file types with an empty string for glob
file_types: .json,.lua,.md,.txt,.vim,.yml

- uses: actions/checkout@v2
- name: urlcheck - scripts directory
uses: urlstechie/urlchecker-action@master
with:
subfolder: scripts
# TODO: Check if I can just check all file types with an empty string for glob
file_types: .json,.lua,.md,.txt,.vim,.yml

- uses: actions/checkout@v2
- name: urlcheck - spec directory
uses: urlstechie/urlchecker-action@master
with:
subfolder: spec
# TODO: Check if I can just check all file types with an empty string for glob
file_types: .json,.lua,.md,.txt,.vim,.yml
3 changes: 2 additions & 1 deletion doc/news.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ Notable changes since PluginTemplate 1.0
===============================================================================
NEW FEATURES *plugin-template-new-features*

Added llscheck.yml - A GitHub workflow that detects type annotation issues!
- Added llscheck.yml - A GitHub workflow that detects type annotation issues!
- Added urlchecker.yml - A GitHub workflow that finds broken URLs!


===============================================================================
Expand Down

0 comments on commit 6e9fdd6

Please sign in to comment.