Skip to content

Clarify Daily billing, remove Krisp pages #7

Clarify Daily billing, remove Krisp pages

Clarify Daily billing, remove Krisp pages #7

Workflow file for this run

name: Check for Broken Links
on:
pull_request:
branches:
- main
push:
branches:
- main
# Allow manual trigger
workflow_dispatch:
jobs:
check-links:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "20"
- name: Install Mintlify CLI
run: npm install -g mint
- name: Check for broken links
run: mint broken-links
continue-on-error: false
- name: Comment on PR (if failed)
if: failure() && github.event_name == 'pull_request'
uses: actions/github-script@v7
with:
script: |
github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: '❌ **Broken links detected!**\n\nPlease check the workflow logs for details on which links are broken and fix them before merging.'
})