chore(deps): update container-images (major) - autoclosed #583
Workflow file for this run
This file contains 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: lint helm chart | |
on: | |
pull_request: | |
branches: | |
- master | |
push: | |
branches: | |
- master | |
permissions: read-all | |
jobs: | |
lint: | |
runs-on: ubuntu-22.04 | |
container: ghcr.io/chgl/kube-powertools:v1.23.7@sha256:9fbd9806165d2d62a555ada53d458cd9e1b6595787b69b688f235b1fdaaba141 | |
steps: | |
- name: Add workspace as safe directory | |
run: | | |
git config --global --add safe.directory /__w/recruit/recruit | |
- name: Checkout | |
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2 | |
with: | |
fetch-depth: 0 | |
- 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@e26d8975574116b0097a1161e0fe16ba75d84c1c # v1.0.3 | |
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@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3.3.1 | |
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 |