Skip to content

Commit bb1851e

Browse files
committed
fix(helm/generate-docs): lint generated files
Signed-off-by: Emilien Escalle <emilien.escalle@escemi.com>
1 parent dfb9f58 commit bb1851e

File tree

4 files changed

+14
-14
lines changed

4 files changed

+14
-14
lines changed

.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@
2020
]
2121
}
2222
}
23-
}
23+
}

actions/helm/generate-docs/action.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -89,13 +89,13 @@ runs:
8989
input: ${{ steps.prepare-variables.outputs.values-file }}
9090
working-directory: ${{ steps.prepare-variables.outputs.working-directory }}
9191

92-
- name: Prettify code
93-
uses: creyD/prettier_action@8c18391fdc98ed0d884c6345f03975edac71b8f0 # v4.6
92+
- name: Lint code
93+
uses: DavidAnson/markdownlint-cli2-action@992badcdf24e3b8eb7e87ff9287fe931bcb00c6e # v20.0.0
9494
with:
95-
prettier_options: --write ${{ steps.prepare-variables.outputs.working-directory }}/**/*.md ${{ steps.prepare-variables.outputs.values-file }}
96-
no_commit: true
97-
working_directory: ${{ steps.prepare-variables.outputs.working-directory }}
98-
clean_node_folder: true
95+
fix: true
96+
globs: ${{ steps.prepare-variables.outputs.working-directory }}/**/*.md
97+
98+
- run: npx textlint ${{ steps.prepare-variables.outputs.working-directory }}/**/*.md
9999

100100
- uses: actions/create-github-app-token@67018539274d69449ef7c02e8e71183d1719ab42 # v2.1.4
101101
if: inputs.github-app-id

tests/charts/application/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ A Helm chart for Kubernetes
66

77
## Requirements
88

9-
| Repository | Name | Version |
10-
| ---------------------------------- | ----- | ------- |
11-
| https://charts.bitnami.com/bitnami | mysql | 14.0.3 |
9+
| Repository | Name | Version |
10+
| ------------------------------------ | ----- | ------- |
11+
| <https://charts.bitnami.com/bitnami> | MySQL | 14.0.3 |
1212

1313
## Values
1414

tests/charts/umbrella-application/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ An umbrella Helm chart for Kubernetes
66

77
## Requirements
88

9-
| Repository | Name | Version |
10-
| ---------------------------------- | --------------- | ------- |
11-
| file://./charts/app | app | 0.0.0 |
12-
| https://charts.bitnami.com/bitnami | database(mysql) | 14.0.3 |
9+
| Repository | Name | Version |
10+
| ------------------------------------ | --------------- | ------- |
11+
| file://./charts/app | app | 0.0.0 |
12+
| <https://charts.bitnami.com/bitnami> | database(MySQL) | 14.0.3 |
1313

1414
## Values
1515

0 commit comments

Comments
 (0)