Skip to content

Commit

Permalink
Align files (#420)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions <[email protected]>
  • Loading branch information
architectbot and actions-user authored Nov 14, 2023
1 parent 414e2c3 commit bc0facd
Show file tree
Hide file tree
Showing 10 changed files with 52 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/zz_generated.check_values_schema.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# DO NOT EDIT. Generated with:
#
# devctl@6.16.0
# devctl@6.17.0
#
name: 'Values and schema'
on:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/zz_generated.create_release.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# DO NOT EDIT. Generated with:
#
# devctl@6.16.0
# devctl@6.17.0
#
name: Create Release
on:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/zz_generated.create_release_pr.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# DO NOT EDIT. Generated with:
#
# devctl@6.16.0
# devctl@6.17.0
#
name: Create Release PR
on:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# DO NOT EDIT. Generated with:
#
# devctl@6.16.0
# devctl@6.17.0
#
name: Compare Helm Rendering

Expand Down
43 changes: 43 additions & 0 deletions .github/workflows/zz_generated.documentation_validation.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# DO NOT EDIT. Generated with:
#
# [email protected]
#

# This workflow validates the documentation generated from the JSON schema of the cluster-app
# which is located in `helm/*/values.schema.json`. Specifically, it checks whether the changes
# from `make generate-docs` were committed.

name: Documentation validation
on:
pull_request:
branches:
- master
- main
paths:
- 'helm/**/values.yaml'
- 'helm/**/values.schema.json'
- '**/*.md' # if someone manually edited a file that should contain the generated documentation

push: {}

jobs:
validate:
name: Validate documentation
runs-on: ubuntu-latest
env:
GO_VERSION: 1.21.3
steps:
- name: Set up Go ${{ env.GO_VERSION }}
uses: actions/[email protected]
with:
go-version: ${{ env.GO_VERSION }}
- name: Checkout code
uses: actions/checkout@v4
- name: "Run 'make generate-docs' and check for differences"
run: |
make generate-docs
if ! git diff --exit-code; then
echo "ERROR: You need to commit the changes made by \"make generate-docs\"."
exit 1
fi
2 changes: 1 addition & 1 deletion .github/workflows/zz_generated.gitleaks.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# DO NOT EDIT. Generated with:
#
# devctl@6.16.0
# devctl@6.17.0
#
name: gitleaks

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/zz_generated.json_schema_validation.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# DO NOT EDIT. Generated with:
#
# devctl@6.16.0
# devctl@6.17.0
#

# This workflow validates the JSON schema of the cluster-app, which is located in
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# DO NOT EDIT. Generated with:
#
# devctl@6.16.0
# devctl@6.17.0
#

include Makefile.*.mk
Expand Down
2 changes: 1 addition & 1 deletion Makefile.gen.app.mk
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# DO NOT EDIT. Generated with:
#
# devctl@6.16.0
# devctl@6.17.0
#

##@ App
Expand Down
2 changes: 1 addition & 1 deletion Makefile.gen.cluster_app.mk
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# DO NOT EDIT. Generated with:
#
# devctl@6.16.0
# devctl@6.17.0
#

##@ Schema
Expand Down

0 comments on commit bc0facd

Please sign in to comment.