Skip to content

[sidecar] Add retry option for prefill queries #4788

[sidecar] Add retry option for prefill queries

[sidecar] Add retry option for prefill queries #4788

Workflow file for this run

name: Markdown Link Checker
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
pull_request_target:
branches: [ main ]
types: [ opened, synchronize, reopened ]
workflow_dispatch:
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
lychee:
name: Check Markdown Links
# pull_request_target fires even when GITHUB_TOKEN creates the PR (e.g. the
# release-notes bot). pull_request does not. We register pull_request_target
# so bot-created PRs get a "skipped" conclusion that satisfies branch
# protection, but we skip all real work: pull_request already covers human
# PRs, and running twice would cause the concurrency group to cancel one run.
if: github.event_name != 'pull_request_target'
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v6
- name: Run lychee link checker
uses: lycheeverse/lychee-action@v2.8.0
with:
# Exclude release-notes.d/ — fragments are sourced verbatim from
# PR bodies; let the original PR's link check be authoritative.
args: '--config .lychee.toml --verbose --no-progress --exclude-path release-notes.d **/*.md'
fail: true