Skip to content

Merge pull request #102 from marcransome/openssf-scorecard-badge #197

Merge pull request #102 from marcransome/openssf-scorecard-badge

Merge pull request #102 from marcransome/openssf-scorecard-badge #197

name: Markdown links check
on:
push:
branches:
- main
pull_request:
branches:
- main
release:
types:
- published
schedule:
- cron: '0 18 * * 1'
workflow_dispatch:
jobs:
markdown-links:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Check links in modified Markdown files
if: github.event_name == 'pull_request'
uses: gaurav-nelson/github-action-markdown-link-check@v1
with:
base-branch: main
check-modified-files-only: yes
use-verbose-mode: yes
config-file: .github/markdown/markdown-links.json
- name: Check links in all Markdown files
if: github.event_name != 'pull_request'
uses: gaurav-nelson/github-action-markdown-link-check@v1
with:
use-verbose-mode: yes
config-file: .github/markdown/markdown-links.json