Skip to content

Commit

Permalink
Use Vale image defined in CI
Browse files Browse the repository at this point in the history
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
  • Loading branch information
jdbaldry committed Aug 9, 2023
1 parent 59a4b12 commit e60c232
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/variables.mk
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,6 @@ PROJECTS = writers-toolkit

# Set the DOC_VALIDATOR_IMAGE to match the one defined in CI.
export DOC_VALIDATOR_IMAGE := $(shell sed -En 's, *image: "(grafana/doc-validator.*)",\1,p' "$(shell git rev-parse --show-toplevel)/.github/workflows/test.yml")

# Set the VALE_IMAGE to match the one defined in CI.
export VALE_IMAGE := $(shell sed -En 's, *image: "(grafana/vale.*)",\1,p' "$(shell git rev-parse --show-toplevel)/.github/workflows/test.yml")

0 comments on commit e60c232

Please sign in to comment.