Skip to content

ci: split link checking into multiple jobs #5

ci: split link checking into multiple jobs

ci: split link checking into multiple jobs #5

name: Check links in diffs
on:
pull_request:
branches: [main]
jobs:
check-links:
strategy:
matrix:
include:
- glob_pattern: "--exclude-path content/blog/ ./content/"
job_name: "non-blog"
- glob_pattern: "./content/blog/[0-9a-f]*/"
job_name: "blog_0-9a-f"
- glob_pattern: "./content/blog/[g-z]*/"
job_name: "blog_g-z"
fail-fast: false
name: ${{ matrix.job_name }}
uses: ./.github/workflows/pr-check-links-worker.yml
with:
glob_pattern: ${{ matrix.glob_pattern }}
target_repo_url: "https://github.com/espressif/developer-portal.git"

Check failure on line 23 in .github/workflows/pr-check-links-caller.yml

View workflow run for this annotation

GitHub Actions / Check links in diffs

Invalid workflow file

The workflow is not valid. .github/workflows/pr-check-links-caller.yml (Line: 23, Col: 24): Invalid input, target_repo_url is not defined in the referenced workflow. .github/workflows/pr-check-links-caller.yml (Line: 24, Col: 22): Invalid input, target_branch is not defined in the referenced workflow.
target_branch: "main"