chore(deps): bump super-linter/super-linter from 8.3.0 to 8.3.2 #421
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 AGNTCY Contributors (https://github.com/agntcy) | |
| # 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@d5b0a2ab116623730dd094f15ddc1b6b25bf7b99 # v8.3.2 | |
| 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/agntcy/.*)|(sdk/python/google/.*)|(sdk/python/openapiv3/.*)|(samples/.*)|(docs/contribute/wip/.*)" | |
| 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_PYLINT: false | |
| VALIDATE_PYTHON_MYPY: false | |
| VALIDATE_PYTHON_RUFF: false | |
| VALIDATE_PYTHON_RUFF_FORMAT: 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 | |
| VALIDATE_BIOME_LINT: false | |
| VALIDATE_BIOME_FORMAT: 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 | |
| python-lint: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| steps: | |
| - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v4.1.7 | |
| - name: Set up python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: '3.13' | |
| - name: Install Identity SDK dependencies and lint toolings | |
| working-directory: ./sdk/python | |
| run: | | |
| pip install ".[test]" | |
| pip install ".[lint]" | |
| - name: Running RUFF linter | |
| working-directory: ./sdk/python | |
| run: ruff --config pyproject.toml check . | |
| - name: Running RUFF formatter | |
| working-directory: ./sdk/python | |
| run: ruff --config pyproject.toml format --check | |
| - name: Running PYLINT | |
| working-directory: ./sdk/python | |
| run: pylint . | |
| - name: Running MYPY | |
| working-directory: ./sdk/python | |
| run: | | |
| echo "Remove unsued imports related to protoc_gen_openapiv2" | |
| ruff check --select F401 agntcy --fix | |
| echo "Running mypy on identityservice/" | |
| mypy identityservice/ | |
| echo "Running mypy on tests/" | |
| mypy tests/ |