Skip to content

[pull] development from nuclio:development #234

[pull] development from nuclio:development

[pull] development from nuclio:development #234

# Copyright 2024 The Nuclio Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License
name: Docs Language Linter
permissions:
contents: read
pull-requests: write
on:
pull_request:
paths:
- "docs/**"
- '**.md'
- ".github/workflows/docs-language-linter.yaml"
- ".vale.ini"
- ".github/styles/**"
jobs:
vale:
name: Review docs with Vale
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: errata-ai/vale-action@d89dee975228ae261d22c15adcd03578634d429c # 2.1.1
with:
reporter: github-pr-check
docs_linkcheck:
name: Check for broken links
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Set up Python
uses: actions/setup-python@v6
- name: Install dependencies
run: |
pip install -r docs/requirements.txt
- name: Check for broken links
env:
FORCE_COLOR: 1 # Force color output
run: make linkcheck