From 5460bd0ff1d4acdf85e1b5d83f64cab06b0c3396 Mon Sep 17 00:00:00 2001 From: Paul Gottschling Date: Wed, 23 Oct 2024 10:05:30 -0400 Subject: [PATCH] Use context for GITHUB_WORKSPACE in vale step --- .github/workflows/doc-tests.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/doc-tests.yaml b/.github/workflows/doc-tests.yaml index 6ca437ab8866d..bd424f9be490c 100644 --- a/.github/workflows/doc-tests.yaml +++ b/.github/workflows/doc-tests.yaml @@ -93,13 +93,13 @@ jobs: # Take the comma-separated list of files returned by the "Check for # relevant changes" job. separator: ',' - files: '$GITHUB_WORKSPACE/docs/content/teleport/docs/pages' + files: '${{ env.GITHUB_WORKSPACE }}/docs/content/teleport/docs/pages' # Restrict the linter to lines modified/added by a PR, not entire # changed files. filter_mode: added fail_on_error: true - vale_flags: '--config=$GITHUB_WORKSPACE/docs/content/teleport/docs/.vale.ini' + vale_flags: '--config=${{ env.GITHUB_WORKSPACE }}/docs/content/teleport/docs/.vale.ini' # - name: Test the docs build # working-directory: 'docs'