Add default tags #2886
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
# DO NOT EDIT. Generated with: | |
# | |
# devctl | |
# | |
# https://github.com/giantswarm/devctl/blob/1a381db95a01773e471818a4ce56ad16ad5d6111/pkg/gen/input/workflows/internal/file/cluster_app_schema_validation.yaml.template | |
# | |
# This workflow validates the JSON schema of the cluster-app, which is located in | |
# `helm/*/values.schema.json`, using schemalint. It also ensures that the `values.yaml` | |
# file located in `helm/*/values.yaml` is generated with helm-values-gen, using the | |
# defaults defined in the JSON schema. | |
name: JSON schema validation | |
on: | |
pull_request: | |
branches: | |
- master | |
- main | |
paths: | |
- 'helm/**/values.yaml' | |
- 'helm/**/values.schema.json' | |
push: {} | |
jobs: | |
validate: | |
name: Verify values.schema.json with schemalint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
- name: Run schemalint | |
id: run-schemalint | |
uses: giantswarm/schemalint/actions/verify-helm-schema@7d9e7128aaf064cef2e6c6d6acd99f2c858861a6 # v2.6.0 | |
with: | |
rule-set: 'cluster-app' | |
generate: | |
name: Check that values.yaml is generated from values.schema.json with helm-values-gen | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
- name: Run helm-values-gen | |
id: run-helm-values-gen | |
uses: giantswarm/helm-values-gen/actions/ensure-generated@bb33e5f342b2026c9ba36073a4f2fdc74495f8c4 # v1.0.3 |