ci: bump actions/checkout from 5 to 6 #14
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
| name: Check Helm Chart | |
| on: | |
| pull_request_target: | |
| branches: | |
| - master | |
| jobs: | |
| helm-template: | |
| name: Run helm template | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| pull-requests: read | |
| steps: | |
| - uses: hmarr/[email protected] | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Run helm template and lint | |
| env: | |
| BASE_SHA: ${{ github.event.pull_request.base.sha }} | |
| HEAD_SHA: ${{ github.event.pull_request.head.sha }} | |
| run: | | |
| CHANGED_CHARTS=$(git diff --name-only "${BASE_SHA}" "${HEAD_SHA}" | grep '^charts/' | cut -d/ -f1-2 | sort -u) | |
| echo "Changed charts:" | |
| echo "$CHANGED_CHARTS" | |
| for chart in $CHANGED_CHARTS; do | |
| echo "Rendering template for $chart" | |
| helm dependency update "$chart" | |
| helm template "$chart" | |
| helm lint "$chart" | |
| done |