diff --git a/.github/styles/.gitkeep b/.github/styles/.gitkeep new file mode 100644 index 000000000..e69de29bb diff --git a/.github/styles/DataJourney/Style.yml b/.github/styles/DataJourney/Style.yml new file mode 100644 index 000000000..bd473f621 --- /dev/null +++ b/.github/styles/DataJourney/Style.yml @@ -0,0 +1,25 @@ +extends: substitution +message: "Use DataJourney docs style: replace '%s' with '%s'." +level: suggestion +ignorecase: false +swap: + Datajourney: DataJourney + Data Journey: DataJourney + Github: GitHub + Github Actions: GitHub Actions + FastHtml: FastHTML + fastHTML: FastHTML + chromadb: ChromaDB + ChromaDb: ChromaDB + langchain: LangChain + dagster: Dagster + pixi: Pixi + revolutionary: specific + game-changing: useful + cutting-edge: current + world-class: high-quality + best-in-class: high-quality + supercharge: improve + simply: "" + obviously: "" + basically: "" diff --git a/.github/workflows/review.yml b/.github/workflows/review.yml index 956d08b4c..fbb8fa20a 100644 --- a/.github/workflows/review.yml +++ b/.github/workflows/review.yml @@ -1,6 +1,8 @@ name: Lint prose permissions: contents: read + checks: write + pull-requests: read on: pull_request: diff --git a/.vale.ini b/.vale.ini index 9c2149758..5900b50a1 100644 --- a/.vale.ini +++ b/.vale.ini @@ -1,11 +1,11 @@ -StylesPath = vale-styles +StylesPath = .github/styles MinAlertLevel = suggestion Packages = Google [*.md] -BasedOnStyles = Vale +BasedOnStyles = Vale, DataJourney Google.Contractions = YES Google.FirstPerson = YES