fix: add outshift logo #38
Workflow file for this run
This file contains hidden or 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 2025 Cisco Systems, Inc. and its affiliates | |
| # SPDX-License-Identifier: Apache-2.0 | |
| --- | |
| name: lint | |
| on: | |
| push: | |
| # Run superlinter on pushes to default branch | |
| branches: | |
| - main | |
| # Run superlinter on pull request events | |
| pull_request: | |
| # Declare default permissions as read-only | |
| permissions: read-all | |
| jobs: | |
| super-linter: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| packages: read | |
| statuses: write | |
| steps: | |
| - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v4.1.7 | |
| with: | |
| fetch-depth: 0 | |
| - name: 🧹 run superlinter | |
| uses: super-linter/super-linter@ffde3b2b33b745cb612d787f669ef9442b1339a6 # v8.1.0 | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| LINTER_RULES_PATH: ".github/linters" | |
| MARKDOWN_CONFIG_FILE: ".markdownlint.yml" | |
| YAML_CONFIG_FILE: ".yamllint.yml" | |
| GO_CONFIG_FILE: ".golangci.yaml" | |
| PROTOBUF_CONFIG_FILE: ".protolintrc.yml" | |
| TRIVY_CONFIG_FILE: ".trivy.yml" | |
| FILTER_REGEX_EXCLUDE: "(.*/charts/.*)|(sdk/python/outshift/.*)|(sdk/python/google/.*)|(sdk/python/openapiv3/.*)" | |
| VALIDATE_ALL_CODEBASE: false | |
| VALIDATE_MARKDOWN_PRETTIER: false | |
| VALIDATE_YAML_PRETTIER: false | |
| VALIDATE_NATURAL_LANGUAGE: false | |
| VALIDATE_JSCPD: false | |
| VALIDATE_CHECKOV: false | |
| VALIDATE_GO: false | |
| VALIDATE_ENV: false | |
| VALIDATE_SHELL_SHFMT: false | |
| VALIDATE_PYTHON_BLACK: false | |
| VALIDATE_PYTHON_PYINK: false | |
| VALIDATE_PYTHON_ISORT: false | |
| VALIDATE_PYTHON_FLAKE8: false | |
| MULTI_STATUS: false | |
| VALIDATE_JSON_PRETTIER: false | |
| VALIDATE_CSS: false | |
| VALIDATE_CSS_PRETTIER: false | |
| VALIDATE_TYPESCRIPT_STANDARD: false | |
| VALIDATE_TYPESCRIPT_ES: false | |
| VALIDATE_TSX: false | |
| VALIDATE_GITHUB_ACTIONS_ZIZMOR: false | |
| helm-lint: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| steps: | |
| - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v4.1.7 | |
| - name: Set up Helm | |
| uses: azure/setup-helm@1a275c3b69536ee54be43f2070a358922e12c8d4 # v3 | |
| with: | |
| version: 'v3.14.0' | |
| - name: Build Helm Dependencies | |
| run: | | |
| echo "Adding Helm repositories..." | |
| helm repo add bitnami https://charts.bitnami.com/bitnami | |
| helm repo add hashicorp https://helm.releases.hashicorp.com | |
| helm repo update | |
| echo "Building Helm dependencies..." | |
| find ./charts -name Chart.yaml -exec dirname {} \; | while read -r chart_dir; do | |
| echo "Building dependencies for: $chart_dir" | |
| helm dependency build "$chart_dir" | |
| done | |
| - name: Lint Helm Charts | |
| run: | | |
| echo "Linting Helm charts..." | |
| find ./charts -name Chart.yaml -exec dirname {} \; | while read -r chart_dir; do | |
| echo "Linting chart: $chart_dir" | |
| helm lint "$chart_dir" | |
| done | |
| - name: Validate Templates | |
| run: | | |
| echo "Validating Helm templates..." | |
| find ./charts -name Chart.yaml -exec dirname {} \; | while read -r chart_dir; do | |
| echo "Validating templates in: $chart_dir" | |
| helm template "$chart_dir" > /dev/null | |
| done |