From ebb2b4b578345b8cfff5310903555e7fae3b885d Mon Sep 17 00:00:00 2001 From: Jan Potoms <2109932+Janpot@users.noreply.github.com> Date: Thu, 18 Aug 2022 16:10:37 +0200 Subject: [PATCH] Add yml support to prettier --- .circleci/config.yml | 2 +- .github/workflows/check-if-pr-has-label.yml | 4 ++-- .github/workflows/no-response.yml | 2 +- scripts/prettier.js | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 5d5a931f1bd0ce..0204f3b2de777b 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -74,7 +74,7 @@ commands: command: | node scripts/use-react-version # log a patch for maintainers who want to check out this change - git --no-pager diff HEAD + git --no-pager diff HEAD - restore_cache: name: Restore yarn cache keys: diff --git a/.github/workflows/check-if-pr-has-label.yml b/.github/workflows/check-if-pr-has-label.yml index 0501d0c1839366..22653dd3c0aa9f 100644 --- a/.github/workflows/check-if-pr-has-label.yml +++ b/.github/workflows/check-if-pr-has-label.yml @@ -6,11 +6,11 @@ on: jobs: test-label-applied: - # Tests that label is added on the PR + # Tests that label is added on the PR runs-on: ubuntu-latest steps: - uses: mnajdova/github-action-required-labels@v2.0 with: mode: minimum count: 1 - labels: "" \ No newline at end of file + labels: '' diff --git a/.github/workflows/no-response.yml b/.github/workflows/no-response.yml index 496dce78ac0f97..40be2bbfda4f66 100644 --- a/.github/workflows/no-response.yml +++ b/.github/workflows/no-response.yml @@ -23,4 +23,4 @@ jobs: # Comment to post when closing an Issue for lack of response. Set to `false` to disable closeComment: > Since the issue is missing key information and has been inactive for 7 days, it has been automatically closed. - If you wish to see the issue reopened, please provide the missing information. \ No newline at end of file + If you wish to see the issue reopened, please provide the missing information. diff --git a/scripts/prettier.js b/scripts/prettier.js index f388ea18fe71ac..67982916e478e1 100644 --- a/scripts/prettier.js +++ b/scripts/prettier.js @@ -48,7 +48,7 @@ function runPrettier(options) { }); const files = glob - .sync('**/*.{js,jsx,md,tsx,ts,json,html,css,prisma}', { + .sync('**/*.{js,jsx,md,tsx,ts,json,html,css,prisma,yml}', { cwd: workspaceRoot, gitignore: true, ignore: [