Skip to content

Lint Markdown and Check URLs #136

Lint Markdown and Check URLs

Lint Markdown and Check URLs #136

Workflow file for this run

name: Lint Markdown and Check URLs
on:
push:
pull_request:
schedule:
# runs at 00:00 UTC every 5 days
- cron: "0 0 */5 * *"
jobs:
awesome-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Bun
uses: oven-sh/setup-bun@v2
- name: Run Awesome Lint
run: make lint
check-urls:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Bun
uses: oven-sh/setup-bun@v2
- name: Check links
uses: lycheeverse/lychee-action@f796c8b7d468feb9b8c0a46da3fac0af6874d374 # v2.2.0
with:
args: |
--accept 403,429 --exclude 'https://www\.autodesk\.com'
--verbose --no-progress './**/*.md' './**/*.html' './**/*.rst'
- name: Fail if there were broken links
run: exit ${{ steps.lc.outputs.exit_code }}