Automatically format ci pipeline specs with prettier (#13441)

* [ci] Deduplicate variables: sections in pipeline specs

The prettier yaml parser doesn't like these.

* [ci] provide git clean filter to format pipeline specs

* [ci] Reformat pipeline specs with prettier
This commit is contained in:
Mira Ressel authored and GitHub committed 2023-02-24 15:02:30 +00:00
1 parent 941288c6d0
commit 84638524e7
8 files changed
+396 -396

No files matched your search

+6
View File
@@ -0,0 +1,6 @@
#!/bin/sh
# meant to be installed via
# git config filter.ci-prettier.clean "scripts/ci/gitlab/prettier.sh"
prettier --parser yaml