Skip to content

Commit 4c1fccb

Browse files
committed
fix(helm/generate-docs): lint generated files
Signed-off-by: Emilien Escalle <[email protected]>
1 parent 6cf2f10 commit 4c1fccb

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

actions/helm/generate-docs/action.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -173,12 +173,7 @@ runs:
173173
env:
174174
CACHE_PATH: ${{ runner.temp }}/.cache-prettier
175175
VALUES_FILE: ${{ steps.prepare-variables.outputs.values-file || '' }}
176-
run: |
177-
# First run
178-
npx prettier --cache-location "$CACHE_PATH" --write "$(pwd)/**/*.md" $VALUES_FILE
179-
180-
# Second run to ensure idempotency
181-
npx prettier --cache-location "$CACHE_PATH" --write "$(pwd)/**/*.md" $VALUES_FILE
176+
run: npx prettier --cache-location "$CACHE_PATH" --write "$(pwd)/**/*.md" $VALUES_FILE
182177

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

0 commit comments

Comments
 (0)