backport of commit a1e814b4b1630c024917fe5730fb6ed1e8a633c2 #1109
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" |