Skip to content

trigger unified chart flow only if something in unified chart changed #561

trigger unified chart flow only if something in unified chart changed

trigger unified chart flow only if something in unified chart changed #561

Workflow file for this run

name: Release Charts
on:
push:
branches:
- master
jobs:
lint-chart:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Helm
uses: azure/setup-helm@v3
- name: Fetch history
run: git fetch --prune --unshallow
- name: Setup chart-testing (lint)
uses: helm/[email protected]
- uses: actions/setup-python@v4
with:
python-version: '3.10'
check-latest: true
# I am disabling this for now, we will enable it once we have a stable release
# - name: Run chart-testing (lint)
# run: |
# ct lint --config ./ct.yaml --all --debug
release:
runs-on: ubuntu-latest
needs: lint-chart
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Fetch history
run: git fetch --prune --unshallow
- name: Configure Git
run: |
git config user.name "$GITHUB_ACTOR"
git config user.email "[email protected]"
- name: Set up Helm
uses: azure/[email protected]
- name: Run chart-releaser
uses: helm/[email protected]
env:
CR_TOKEN: ${{ secrets.GITHUB_TOKEN }}
skip_existing: false