Skip to content

Commit bc9a610

Browse files
Update gh action vale for Linting workflow (#3240)
* chore: false push - test gh action * chore: update gh-action
1 parent 5009185 commit bc9a610

File tree

4 files changed

+33
-9
lines changed

4 files changed

+33
-9
lines changed

.github/workflows/vale-linter.yml

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,20 @@ jobs:
1010
if: github.repository == 'timescale/docs'
1111
runs-on: ubuntu-latest
1212
steps:
13-
- name: Checkout
14-
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
13+
- name: Checkout
14+
uses: actions/checkout@v2 # Ensure using the latest stable version
15+
16+
- name: Install Vale
17+
run: |
18+
curl -sSfL https://github.com/errata-ai/vale/releases/download/v2.14.0/vale_2.14.0_Linux_64-bit.tar.gz -o vale.tar.gz
19+
tar -xzf vale.tar.gz
20+
sudo mv vale /usr/local/bin/vale # Move vale to a directory in PATH
21+
sudo chmod +x /usr/local/bin/vale
22+
23+
- name: Run Vale
24+
env:
25+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
26+
run: |
27+
vale --version
28+
vale --glob='["_partials/**/*", "_troubleshooting/**/*", "about/**/*", "api/**/*", "getting-started/**/*", "mst/**/*", "navigation/**/*", "quick-start/**/*", "self-hosted/**/*", "tutorials/**/*", "use-timescale/**/*", "ai/**/*"]'
1529
16-
- name: Vale
17-
uses: errata-ai/vale-action@c4213d4de3d5f718b8497bd86161531c78992084
18-
with:
19-
files: '["_partials", "_troubleshooting", "about", "api", "getting-started", "mst", "navigation", "quick-start", "self-hosted", "tutorials", "use-timescale", "ai"]'
20-
env:
21-
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ any suggestions or bug reports, or by forking this repository, making your own
2121
contribution, and submitting a pull request.
2222

2323
Before we accept any contributions, Timescale contributors need to
24-
sign the [Contributor License Agreement](https://cla-assistant.io/timescale/docs) (CLA).
24+
sign the [Contributor License Agreement](https://cla-assistant.io/timescale/docs)(CLA).
2525
By signing a CLA, we can ensure that the community is free and confident in its
2626
ability to use your contributions.
2727

node_modules/.yarn-integrity

Lines changed: 12 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

yarn.lock

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
2+
# yarn lockfile v1
3+
4+

0 commit comments

Comments
 (0)