Skip to content

Merge 5.0.1 into main (#1565) #678

Merge 5.0.1 into main (#1565)

Merge 5.0.1 into main (#1565) #678

Workflow file for this run

# Copyright OpenSearch Contributors
# SPDX-License-Identifier: Apache-2.0
name: Link Checker
on:
push:
branches: [main]
pull_request:
branches: [main]
types: [opened, synchronize, reopened, ready_for_review]
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
linkchecker:
runs-on: ubuntu-latest
if: github.event.pull_request.draft == false
steps:
- uses: actions/checkout@v4
- name: Lychee Link Checker
uses: lycheeverse/lychee-action@v1
with:
fail: false
args: --accept=200,403,429 --base . --retry-wait-time=15 --max-retries=5 --exclude-path cypress/fixtures --exclude-path src/plugins/explore/public/components/data_table/data_table.mocks.ts "**/*.html" "**/*.md" "**/*.txt" "**/*.json" "**/*.js" "**/*.ts" "**/*.tsx"
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}