Smartling translations are completed for commit cdf60f0f8359a6836a23259e7859dc2b165a4d90 from main #2866
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/[email protected] | |
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/[email protected] | |
env: | |
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} | |
with: | |
args: --max-redirects 10 --base ${{ steps.waitForVercel.outputs.url }} './src/content/docs/**/*.md*' | |
fail: true |