Skip to content

Commit

Permalink
test things on the vale branch of the workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuafernandes committed Sep 11, 2024
1 parent 59143fd commit 0fa4d87
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 16 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/links.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
name: Check for link errors

on:
pull_request:
branches:
- main

jobs:
linkCheck:
name: Link Checking
runs-on: ubuntu-latest
strategy:
matrix:
file-extensions: [".md", ".mdx"]
steps:
- uses: actions/checkout@v4
- name: LinkCheck
uses: ConsenSys/docs-gha/linkcheck@main
with:
FILE_EXTENSION: ${{ matrix.file-extensions }}
17 changes: 2 additions & 15 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
name: Check for lint, spelling and link errors
name: Check for lint errors

on:
pull_request:
Expand All @@ -8,7 +8,7 @@ on:

jobs:
lint:
name: Lint Code Base, Spelling, Link Check
name: Lint Code Base
runs-on: ubuntu-latest
permissions:
contents: read
Expand All @@ -18,16 +18,3 @@ jobs:
uses: ConsenSys/docs-gha/lint@main
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

linkCheck:
name: Link Checking
runs-on: ubuntu-latest
strategy:
matrix:
file-extensions: [".md", ".mdx"]
steps:
- uses: actions/checkout@v4
- name: LinkCheck
uses: ConsenSys/docs-gha/linkcheck@main
with:
FILE_EXTENSION: ${{ matrix.file-extensions }}
1 change: 1 addition & 0 deletions .github/workflows/spelling.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,5 @@ jobs:
uses: Consensys/docs-gha/spelling@vale
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
FILEPATHS: "docs"

2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ creating new documentation sites.

## Overview

Each Consensys developer product has a documentation site, maintained by the [Consensys developer
Each Consensys asufutimaehaehfutbw developer product has a documentation site, maintained by the [Consensys developer

Check failure on line 13 in docs/index.md

View workflow job for this annotation

GitHub Actions / Spelling

[vale] reported by reviewdog 🐶 [Vale.Spelling] Did you really mean 'asufutimaehaehfutbw'? Raw Output: {"message": "[Vale.Spelling] Did you really mean 'asufutimaehaehfutbw'?", "location": {"path": "docs/index.md", "range": {"start": {"line": 13, "column": 16}}}, "severity": "ERROR"}
documentation team](https://consensyssoftware.atlassian.net/wiki/spaces/PEG/pages/398159216798/Documentation+Pliny)
and/or a product team.
The docs use a [docs-as-code](https://www.writethedocs.org/guide/docs-as-code/) approach and are
Expand Down

0 comments on commit 0fa4d87

Please sign in to comment.