sec(release): release sboms and signatures in same repository as artefact #497
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: Test charts | |
permissions: {} | |
on: | |
pull_request: | |
branches: | |
- "main" | |
paths: | |
- '.github/configs/**' | |
- '.github/workflows/helm-*.yml' | |
- 'charts/**' | |
- 'Makefile' | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
linter-artifacthub: | |
runs-on: ubuntu-latest | |
container: | |
image: artifacthub/ah | |
options: --user root | |
steps: | |
- name: Checkout | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: Run ah lint | |
working-directory: ./charts/ | |
run: ah lint | |
lint: | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
with: | |
fetch-depth: 0 | |
- uses: azure/setup-helm@fe7b79cd5ee1e45176fcad797de68ecaf3ca4814 # v4 | |
- name: Run chart-testing (lint) | |
run: make helm-lint | |
- name: Run docs-testing (helm-docs) | |
id: helm-docs | |
run: | | |
make helm-docs | |
if [[ $(git diff --stat) != '' ]]; then | |
echo -e '\033[0;31mDocumentation outdated! (Run make helm-docs locally and commit)\033[0m ❌' | |
git diff --color | |
exit 1 | |
else | |
echo -e '\033[0;32mDocumentation up to date\033[0m ✔' | |
fi | |
- name: Run schema-testing (helm-schema) | |
id: helm-schema | |
run: | | |
make helm-schema | |
if [[ $(git diff --stat) != '' ]]; then | |
echo -e '\033[0;31mSchema outdated! (Run make helm-schema locally and commit)\033[0m ❌' | |
git diff --color | |
exit 1 | |
else | |
echo -e '\033[0;32mSchema up to date\033[0m ✔' | |
fi | |
- name: Run chart-testing (install) | |
run: make helm-test |