Skip to content

1657 allow the contributor to self assign the issue #1

1657 allow the contributor to self assign the issue

1657 allow the contributor to self assign the issue #1

Workflow file for this run

# workflows/test-docs.yml
#
# Test Docs
# Test our documentation for broken links via Mintlify.
name: Test Docs
on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
branches:
- main
- dev
paths:
- ".github/workflows/test-docs.yml"
- "docs/**"
workflow_dispatch:
concurrency:
group: test-docs-${{ github.head_ref || github.ref }}
cancel-in-progress: true
jobs:
test-docs:
name: Test Docs for Broken Links
runs-on: depot-ubuntu-latest-2
if: github.event.pull_request.draft == false
steps:
- name: Checkout Git Repository
uses: actions/checkout@v4
- name: Install Mintlify CLI
run: npm install -g mintlify
- name: Test Docs for Broken Links
working-directory: docs/
run: |
output=$(mintlify broken-links)
# Check if the output contains any broken links
if [[ "$output" == *"No broken links found."* ]]; then
echo "No broken links found."
else
echo "$output"
exit 1
fi