Skip to content

Commit

Permalink
Use context for GITHUB_WORKSPACE in vale step
Browse files Browse the repository at this point in the history
  • Loading branch information
ptgott committed Oct 23, 2024
1 parent e5a3bb2 commit 5460bd0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/doc-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 5460bd0

Please sign in to comment.