Skip to content

Commit

Permalink
Add link checker and linter
Browse files Browse the repository at this point in the history
  • Loading branch information
mgrojo authored Feb 19, 2023
1 parent a9e8885 commit 06197a1
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Check Lint

on:
workflow_dispatch:
push:
branches:
- main
schedule:
# Run every first day at 00:00 AM every month.
- cron: "0 0 * * *"
pull_request:
branches: [main]
paths:
- 'README.md'
- '.github/workflows/main.yml'

jobs:
main:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Check links
uses: gaurav-nelson/github-action-markdown-link-check@v1
with:
retry-after: 10
use-quiet-mode: 'yes'
use-verbose-mode: 'yes'
config-file: '.github/workflows/markdown.links.config.json'
- name: Awesome linter
run: npx awesome-lint

0 comments on commit 06197a1

Please sign in to comment.