update redirected URLs #7734
Workflow file for this run
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: Check URL issues | |
on: | |
pull_request: | |
branches: | |
- main | |
paths: | |
- "files/**/*.md" | |
jobs: | |
check_url_issues: | |
#if: github.repository == 'mdn/content' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Setup Node.js environment | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: ".nvmrc" | |
cache: yarn | |
- name: Check URL deletions and broken fragments | |
run: | | |
echo "::add-matcher::.github/workflows/url-issues-problem-matcher.json" | |
git fetch origin main | |
node scripts/log-url-issues.js --workflow |