Skip to content

chore(deps): update githubactions (minor) #35

chore(deps): update githubactions (minor)

chore(deps): update githubactions (minor) #35

Workflow file for this run

name: Lint Charts
on:
pull_request:
branches:
- main
paths:
- 'charts/**'
- '.github/workflows/lint.yaml'
permissions:
contents: write
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: aquaproj/aqua-installer@v2.2.0
with:
aqua_version: v1.34.0
- name: Install poetry
run: pipx install poetry
- uses: actions/setup-python@v4
with:
python-version: '3.10'
cache: poetry
- name: Install dependencies
run: |
poetry install
echo "PATH=$PATH:$(poetry env info -p)/bin" >> $GITHUB_ENV
- name: Get etc of chart-testing
run: |
ct_version=$(ct version | yq '.Version')
mkdir ~/.ct
curl -sSL -o ~/.ct/chart_schema.yaml https://raw.githubusercontent.com/helm/chart-testing/${ct_version}/etc/chart_schema.yaml
curl -sSL -o ~/.ct/lintconf.yaml https://raw.githubusercontent.com/helm/chart-testing/${ct_version}/etc/lintconf.yaml
- name: Run chart-testing (lint)
run: |
ct lint --target-branch ${{ github.event.repository.default_branch }}
- name: Docs Generate
run:
helm-docs
- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: 'docs: update README.md'
file_pattern: '*.md'
disable_globbing: true