Merge pull request #190 from RConsortium/187-new-links-for-site-rmedi… #200
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check URLs 🔗 | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main, devel] | |
jobs: | |
links: | |
name: Validate Links 🕸️ | |
runs-on: ubuntu-latest | |
if: > | |
!contains(github.event.commits[0].message, '[skip links]') | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Check URLs in docs 📑 | |
uses: lycheeverse/[email protected] | |
with: | |
fail: true | |
jobSummary: true | |
format: markdown | |
output: links-results.md | |
args: >- | |
--exclude-private | |
--exclude "https://github.com.*.git|lycheeverse.*" | |
--verbose | |
--no-progress | |
**/*.md | |
**/*.html | |
**/*.yaml | |
**/*.yml | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |