[navigation]fix: optimize the logic to detect current nav group (#8189) #223
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
# Copyright OpenSearch Contributors | |
# SPDX-License-Identifier: Apache-2.0 | |
name: Link Checker | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
linkchecker: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Lychee Link Checker | |
uses: lycheeverse/lychee-action@v1 | |
with: | |
fail: true | |
args: --accept=200,403,429 --base . --retry-wait-time=15 --max-retries=5 "**/*.html" "**/*.md" "**/*.txt" "**/*.json" "**/*.js" "**/*.ts" "**/*.tsx" | |
env: | |
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} |