Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 12 additions & 20 deletions .github/workflows/docs-links.yml
Original file line number Diff line number Diff line change
@@ -1,30 +1,22 @@
name: Docs link check
name: Docs Link Check

on:
push:
paths:
- '**.md'
- 'scripts/check-links.js'
- '.github/workflows/docs-links.yml'
branches: [ main ]
pull_request:
paths:
- '**.md'
- 'scripts/check-links.js'
- '.github/workflows/docs-links.yml'
branches: [ main ]

permissions:
# Los cuatro workflows solo leen el repo: clonan, instalan y corren
# tests. Ninguno hace push, ni comenta, ni publica, ni toca secrets.
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
check-links:
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '22'
- name: Check local markdown links
run: node scripts/check-links.js
- name: Checkout code
uses: actions/checkout@v4

- name: Check markdown links
uses: gautamkrishnar/blog-post-workflow@master # Or a placeholder step for link checking