fix: fallback to email local part when user name is missing #440
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: "test charts" | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| paths: | |
| - "charts/**" | |
| jobs: | |
| lint_and_install: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Install Helm | |
| uses: azure/[email protected] | |
| with: | |
| version: v3.13.3 | |
| - name: Install chart-testing | |
| uses: helm/[email protected] | |
| with: | |
| version: v3.10.1 | |
| - name: List Changed Charts (chart-testing) | |
| id: list-changed | |
| run: | | |
| CHANGED=$(ct list-changed --config ct-config.yaml) | |
| if [[ -n "$CHANGED" ]]; then | |
| echo "::set-output name=CHANGED::true" | |
| fi | |
| - name: Lint Charts (chart-testing) | |
| if: ${{ steps.list-changed.outputs.CHANGED == 'true' }} | |
| run: | | |
| ct lint --config ct-config.yaml --check-version-increment=false | |
| - name: Create kind Cluster | |
| uses: helm/kind-action@v1 | |
| if: ${{ steps.list-changed.outputs.CHANGED == 'true' }} | |
| timeout-minutes: 5 | |
| with: | |
| version: v0.22.0 | |
| kubectl_version: v1.27.13 | |
| node_image: kindest/node:v1.27.11@sha256:681253009e68069b8e01aad36a1e0fa8cf18bb0ab3e5c4069b2e65cafdd70843 | |
| wait: 300s | |
| - name: Install Charts (chart-testing) | |
| if: ${{ steps.list-changed.outputs.CHANGED == 'true' }} | |
| run: | | |
| ct install --config ct-config.yaml |