Skip to content

ci: 53 update ci workflows for best practices and standards #19

ci: 53 update ci workflows for best practices and standards

ci: 53 update ci workflows for best practices and standards #19

Workflow file for this run

name: Charts Lint
on:
workflow_dispatch: # Enabled for testing
pull_request:
branches: [ main, release/**]
push:
branches: [ main, release/*]
tags: [ v* ]
defaults:
run:
shell: bash
permissions:
contents: read
jobs:
lint:
name: Lint
runs-on: [ self-hosted, Linux, medium, ephemeral ]
steps:
- name: Harden Runner
uses: step-security/harden-runner@63c24ba6bd7ba022e95695ff85de572c04a18142 # v2.7.0
with:
egress-policy: audit
- name: Setup Python
uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0
with:
python-version: "3.10"
- name: Checkout
uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3
- name: Install Helm
uses: azure/setup-helm@fe7b79cd5ee1e45176fcad797de68ecaf3ca4814 # v4.2.0
- name: Install ct
uses: helm/chart-testing-action@e6669bcd63d7cb57cb4380c33043eebe5d111992 # v2.6.1
- name: Run lint
run: ct lint --config .github/ct.yaml --all