backport of commit acf9bb31e641b437e9f32978395290d9095e5a7a #1105
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Legacy Link Format Checker | |
on: | |
push: | |
paths: | |
- "website/content/**/*.mdx" | |
- "website/data/*-nav-data.json" | |
- ".github/workflows/check-legacy-links-format.yml" | |
permissions: | |
contents: read | |
jobs: | |
check-links: | |
if: github.repository == 'hashicorp/boundary' | |
uses: hashicorp/dev-portal/.github/workflows/docs-content-check-legacy-links-format.yml@475289345d312552b745224b46895f51cc5fc490 | |
with: | |
repo-owner: "hashicorp" | |
repo-name: "boundary" | |
commit-sha: ${{ github.sha }} | |
mdx-directory: "website/content" | |
nav-data-directory: "website/data" |