backport of commit a6b2e9496562356bdb8760a911d7e230efc54a15 #1108
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" |