From 625e7b0d854556c33ee98163304cbdb073e37877 Mon Sep 17 00:00:00 2001 From: Paul Gottschling Date: Tue, 22 Oct 2024 14:06:53 -0400 Subject: [PATCH] Edit YAML formatting --- .github/workflows/doc-tests.yaml | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/.github/workflows/doc-tests.yaml b/.github/workflows/doc-tests.yaml index 42be8c949e7ff..02828ea14bb42 100644 --- a/.github/workflows/doc-tests.yaml +++ b/.github/workflows/doc-tests.yaml @@ -40,8 +40,8 @@ jobs: - name: Checkout uses: actions/checkout@v4 with: - repository: "gravitational/docs" - path: "docs" + repository: 'gravitational/docs' + path: 'docs' - name: Prepare docs site configuration # The environment we use for linting the docs differs from the one we @@ -83,29 +83,28 @@ jobs: yarn build-node - name: Check spelling - working-directory: "$GITHUB_WORKSPACE/docs" + working-directory: '$GITHUB_WORKSPACE/docs' run: yarn spellcheck content/teleport - name: Lint docs formatting - working-directory: "$GITHUB_WORKSPACE/docs" + working-directory: '$GITHUB_WORKSPACE/docs' run: yarn markdown-lint - name: Lint docs prose - working-directory: "$GITHUB_WORKSPACE/docs/content/teleport" - uses: errata-ai/vale-action@38bf078c328061f59879b347ca344a718a736018 # v2.1.0 + uses: 'errata-ai/vale-action@38bf078c328061f59879b347ca344a718a736018' # v2.1.0 + working-directory: '$GITHUB_WORKSPACE/docs/content/teleport' with: version: 3.8.0 # Take the comma-separated list of files returned by the "Check for # relevant changes" job. - separator: "," + separator: ',' files: ${{ needs.changes.outputs.changed_files }} # Restrict the linter to lines modified/added by a PR, not entire # changed files. filter_mode: added fail_on_error: true - vale_flags: "--config=docs/.vale.ini" + vale_flags: '--config=docs/.vale.ini' - name: Test the docs build - working-directory: "$GITHUB_WORKSPACE/docs" + working-directory: '$GITHUB_WORKSPACE/docs' run: yarn install && yarn build -