Skip to content

chore(deps): refresh pip-compile outputs #2439

chore(deps): refresh pip-compile outputs

chore(deps): refresh pip-compile outputs #2439

Workflow file for this run

name: lint helm chart
on:
pull_request:
branches:
- master
permissions: read-all
jobs:
lint:
runs-on: ubuntu-22.04
container: ghcr.io/chgl/kube-powertools:v2.3.12@sha256:026468ae2827c50261b1245b0a2a6204f7e2793e086202aad433e6baa720204a
steps:
- name: Add workspace as safe directory
run: |
git config --global --add safe.directory /__w/recruit/recruit
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
fetch-depth: 0
# via <https://github.com/helm/chart-testing/issues/577>
- run: |
git branch "master" "origin/master"
- name: Check if documentation is up-to-date
run: |
generate-docs.sh
if git diff --exit-code HEAD; then
echo -e "\033[0;32mDocumentation up to date\033[0m ✔"
else
echo -e "\033[0;31mDocumentation outdated! Please run generate-docs.sh locally and push the changes.\033[0m ❌"
git diff --color
exit 1
fi
- name: Install Task
uses: arduino/setup-task@b91d5d2c96a56797b48ac1e0e89220bf64044611 # v2.0.0
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Add helm repos and update deps
run: |
task helm-add-repos
task helm-update-dependencies
- name: Run chart-testing (lint)
run: ct lint --config .github/ct/ct.yaml
- name: Run ArtifactHub lint
run: ah lint --kind=helm
- name: Cache kubeconform schemas
id: cache-powerlint-kubeconform
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
with:
path: /tmp
key: ${{ runner.os }}-powerlint-kubeconform
- name: Run Powerlint
env:
KUBERNETES_VERSIONS: "1.24.0 1.25.0 1.26.0"
run: chart-powerlint.sh
# used to test whether the changelog generation process works
- name: Generate changelogs (test)
run: generate-chart-changelog.sh