Skip to content

Commit

Permalink
Merge pull request #90 from stakater/vale3
Browse files Browse the repository at this point in the history
Vale 3 migration
  • Loading branch information
rasheedamir authored Jan 20, 2024
2 parents 470df0f + 4c5337d commit b4a634b
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 8 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/pull_request_doc_qa.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,15 @@ jobs:
with:
ref: ${{github.event.pull_request.head.sha}}
submodules: recursive
- name: Install Vale
run: |
wget https://github.com/errata-ai/vale/releases/download/v3.0.5/vale_3.0.5_Linux_64-bit.tar.gz -O vale.tar.gz
tar -xvzf vale.tar.gz vale
rm vale.tar.gz
- name: Spell check
uses: errata-ai/vale-action@v2.0.1
with:
version: 2.30.0
styles: https://github.com/errata-ai/write-good/releases/latest/download/write-good.zip
files: ${{inputs.DOC_SRC}}
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
run: |
./vale sync
./vale ${{inputs.DOC_SRC}}
style_check:
runs-on: ubuntu-latest
Expand Down
17 changes: 16 additions & 1 deletion renovate.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,21 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:base"
"config:recommended"
],
"labels": [
"dependencies"
],
"customManagers": [
{
"customType": "regex",
"fileMatch": [
"\\.yaml$"
],
"matchStrings": [
"https:\/\/github.com\/(?<depName>.*)\/releases\/download\/(?<currentValue>.*)\/.*.tar.gz"
],
"datasourceTemplate": "github-release-attachments"
}
]
}

0 comments on commit b4a634b

Please sign in to comment.