docs: move sc annotations info to dev docs #4208
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 2024 Flant JSC | |
# | |
# 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: Validations | |
env: | |
GO_VERSION: "1.22.7" | |
on: | |
pull_request: | |
types: [opened, synchronize, labeled, unlabeled] | |
concurrency: | |
group: "${{ github.workflow }}-${{ github.event.number || github.ref }}" | |
cancel-in-progress: true | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
no_cyrillic: | |
if: "!contains(github.event.pull_request.labels.*.name, 'validation/skip/no_cyrillic')" | |
runs-on: ubuntu-latest | |
name: Validation no-cyrillic | |
steps: | |
- name: Set up Go ${{ env.GO_VERSION }} | |
uses: actions/setup-go@v5 | |
with: | |
go-version: "${{ env.GO_VERSION }}" | |
- name: Install Task | |
uses: arduino/setup-task@v2 | |
with: | |
version: 3.37.2 | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
ref: ${{ github.event.pull_request.head.sha }} | |
- name: Run validation "No cyrillic" | |
run: | | |
task validation:no-cyrillic | |
doc_changes: | |
if: "!contains(github.event.pull_request.labels.*.name, 'validation/skip/doc_changes')" | |
runs-on: ubuntu-latest | |
name: Validation doc-changes | |
steps: | |
- name: Set up Go ${{ env.GO_VERSION }} | |
uses: actions/setup-go@v5 | |
with: | |
go-version: "${{ env.GO_VERSION }}" | |
- name: Install Task | |
uses: arduino/setup-task@v2 | |
with: | |
version: 3.37.2 | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
ref: ${{ github.event.pull_request.head.sha }} | |
- name: Run validation "Doc changes" | |
run: | | |
task validation:doc-changes | |
copyright: | |
if: "!contains(github.event.pull_request.labels.*.name, 'validation/skip/copyright')" | |
runs-on: ubuntu-latest | |
name: Validation copyright | |
steps: | |
- name: Set up Go ${{ env.GO_VERSION }} | |
uses: actions/setup-go@v5 | |
with: | |
go-version: "${{ env.GO_VERSION }}" | |
- name: Install Task | |
uses: arduino/setup-task@v2 | |
with: | |
version: 3.37.2 | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
ref: ${{ github.event.pull_request.head.sha }} | |
- name: Run validation "Copyright" | |
run: | | |
task validation:copyright | |
helm_templates: | |
if: "!contains(github.event.pull_request.labels.*.name, 'validation/skip/helm_templates')" | |
runs-on: ubuntu-latest | |
name: Validate helm templates with OpenAPI schemas | |
steps: | |
- name: Install Task | |
uses: arduino/setup-task@v2 | |
with: | |
version: 3.37.2 | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Run validation "Helm templates" | |
run: | | |
task validation:helm-templates |