Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
[ci] provide git clean filter to format pipeline specs
Browse files Browse the repository at this point in the history
  • Loading branch information
Mira Ressel committed Feb 22, 2023
1 parent 6fd4fa7 commit 90f0761
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
Cargo.lock linguist-generated=true
/.gitlab-ci.yml filter=ci-prettier
/scripts/ci/gitlab/pipeline/*.yml filter=ci-prettier
6 changes: 6 additions & 0 deletions scripts/ci/gitlab/prettier.sh
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 90f0761

Please sign in to comment.