[go: nahoru, domu]

Skip to content

docs: add stream[].match.host to ApisixRoute v2 spec #1137

docs: add stream[].match.host to ApisixRoute v2 spec

docs: add stream[].match.host to ApisixRoute v2 spec #1137

#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you 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: yamllint-checker
on:
push:
branches:
- master
pull_request:
branches:
- master
- 1.8.0
jobs:
changes:
runs-on: ubuntu-latest
outputs:
yaml: ${{ steps.filter.outputs.yaml }}
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
- uses: ./.github/actions/paths-filter
id: filter
with:
token: ${{ secrets.GITHUB_TOKEN }}
# focus on `samples/deploy` yaml files directory
filters: |
yaml:
- 'samples/deploy/**/*'
yamllint-checker:
needs: changes
if: |
(needs.changes.outputs.yaml == 'true')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: '3.10'
- run: pip install yamllint==1.29.0
- name: 🚀 Run yamllint
run: yamllint samples/deploy # focus on `samples/deploy` yaml files directory