Smartling translations are completed for commit e27a4b6d44607d0b26525d2b429bf62669f9745d from main #2997
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 PR links | |
on: | |
pull_request: | |
jobs: | |
check-links: | |
if: ${{ github.event_name == 'pull_request' && !startsWith(github.head_ref, 'renovate') }} | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Waiting for 200 from the Vercel Preview | |
uses: patrickedqvist/wait-for-vercel-preview@v1.3.2 | |
id: waitForVercel | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
max_timeout: 720 | |
check_interval: 60 | |
allow_inactive: true | |
environment: Preview | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
- name: Check for broken links | |
if: steps.waitForVercel.outputs.url | |
uses: lycheeverse/lychee-action@v1.10.0 | |
env: | |
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} | |
with: | |
args: --max-redirects 10 --base ${{ steps.waitForVercel.outputs.url }} './src/content/docs/**/*.md*' | |
fail: true |