Skip to content

Fix broken links, HTTP→HTTPS upgrades, and article/typo corrections #28422

Fix broken links, HTTP→HTTPS upgrades, and article/typo corrections

Fix broken links, HTTP→HTTPS upgrades, and article/typo corrections #28422

name: Check URL issues
on:
pull_request:
paths:
- "files/**/*.md"
# No GITHUB_TOKEN permissions, as we don't use it.
permissions: {}
jobs:
check_url_issues:
#if: github.repository == 'mdn/content'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
fetch-depth: 0
persist-credentials: false
- name: Setup Node.js environment
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version-file: ".nvmrc"
cache: npm
- 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