Skip to content

Commit

Permalink
Merge branch 'main' into 32-improvements
Browse files Browse the repository at this point in the history
# Conflicts:
#	docs/configure/openapi.md
  • Loading branch information
alexandratran committed Sep 27, 2024
2 parents ec2ec47 + 0b7ff9b commit fefade6
Show file tree
Hide file tree
Showing 24 changed files with 4,648 additions and 1,476 deletions.
5 changes: 4 additions & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,12 @@ end_of_line = lf
insert_final_newline = true
indent_style = space
indent_size = 2
max_line_length = 80
max_line_length = 100
trim_trailing_whitespace = true

[*.md]
max_line_length = 80
indent_style = space

insert_final_newline = false
trim_trailing_whitespace = false
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
build/
.eslintrc.js
.eslintrc.md.js
docs/test-api
./node_modules/*
*.md
Expand Down
24 changes: 0 additions & 24 deletions .github/workflows/dependency_review.yml

This file was deleted.

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 broken links

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 }}
22 changes: 5 additions & 17 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,27 +8,15 @@ on:

jobs:
lint:
name: Lint Code Base, Spelling, Link Check
name: Lint
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v4

- name: Lint
- name: Lint code
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 }}
- name: Lint markdown
uses: ConsenSys/docs-gha/lint-markdown@main
22 changes: 22 additions & 0 deletions .github/workflows/spelling.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
name: Check for spelling with vale

on:
pull_request:
branches:
- main

jobs:
vale:
name: Spelling
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v4

- name: Vale
uses: Consensys/docs-gha/spelling@main
with:
FILEPATHS: "docs"

18 changes: 18 additions & 0 deletions .github/workflows/trivy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
name: Trivy

on:
pull_request:
branches:
- main

jobs:
trivy:
name: Run trivy scanner
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Trivy
uses: ConsenSys/docs-gha/trivy@main
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Loading

0 comments on commit fefade6

Please sign in to comment.