Skip to content

docs(mesh): update docs and changelog #15530

docs(mesh): update docs and changelog

docs(mesh): update docs and changelog #15530

name: Missing Redirects
on:
pull_request:
types: [opened, synchronize, reopened, labeled, unlabeled]
permissions:
contents: read
checks: read
actions: read
jobs:
check:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Harden Runner
uses: step-security/harden-runner@ab7a9404c0f3da075243ca237b5fac12c98deaa5 # v2.19.3
with:
egress-policy: audit
- name: Check if manual review has been performed
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9
id: labels
with:
result-encoding: string
script: |
const { data: labels } = await github.rest.issues.listLabelsOnIssue({
...context.repo,
issue_number: context.issue.number
});
return labels.map(l => l.name).includes('ci:manual-approve:missing-redirects')
outputs:
result: ${{ steps.labels.outputs.result }}
redirects:
needs: check
if: needs.check.outputs.result == 'false'
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@ab7a9404c0f3da075243ca237b5fac12c98deaa5 # v2.19.3
with:
egress-policy: audit
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
fetch-depth: 0
- name: Wait for Pages changed to be neutral
uses: fountainhead/action-wait-for-check@5a908a24814494009c4bb27c242ea38c93c593be # v1.2.0
id: waitForCheck
with:
ref: ${{ github.event.pull_request.head.sha || github.sha }}
token: ${{ secrets.GITHUB_TOKEN }}
checkName: "Pages changed - kongdeveloper"
timeoutSeconds: 1200
- name: Wait for Netlify site to be ready
uses: jakepartusch/wait-for-netlify-action@f1e137043864b9ab9034ae3a5adc1c108e3f1a48 # v1.4
id: waitForNetlify
with:
site_name: "kongdeveloper"
max_timeout: 1200
- name: Check for missing redirects
run: |
cd tools/missing-redirects
npm ci
node index.js --base_url https://deploy-preview-${{ github.event.pull_request.number }}--kongdeveloper.netlify.app