Skip to content

Commit

Permalink
Update markdown link check github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mmitoraj committed Mar 18, 2024
1 parent 8201473 commit b5a3374
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 36 deletions.
18 changes: 0 additions & 18 deletions .github/workflows/lint-markdown-links-daily.yml

This file was deleted.

18 changes: 0 additions & 18 deletions .github/workflows/lint-markdown-links-pr.yml

This file was deleted.

24 changes: 24 additions & 0 deletions .github/workflows/pr-docu-checks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Verify markdown links

on:
pull_request:
branches:
- "main"
- "release-*"
workflow_dispatch:

jobs:
verify-links:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Install node.js
uses: actions/setup-node@v4
with:
node-version: '20.x'
- name: Install md-check-link
run: npm install -g md-check-link
- name: Verify links
run: |
md-check-link -q -n 8 -c https://raw.githubusercontent.com/kyma-project/md-check-link/main/.mlc.config.json ./

0 comments on commit b5a3374

Please sign in to comment.