-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into fharper/reaction
- Loading branch information
Showing
19 changed files
with
540 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"parserPreset": "conventional-changelog-conventionalcommits", | ||
"rules": { | ||
"header-max-length": [2, "always", 72] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
--- | ||
name: Check Commit Messages | ||
on: push | ||
|
||
jobs: | ||
commitlint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
||
- name: Checkout the code | ||
uses: actions/[email protected] | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Lint the commits | ||
uses: wagoid/[email protected] | ||
with: | ||
configFile: .commitlint.json | ||
failOnWarnings: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
--- | ||
name: Markdown Links Validation | ||
|
||
on: [push, workflow_dispatch] | ||
|
||
jobs: | ||
markdown-link-check: | ||
|
||
runs-on: ubuntu-latest | ||
steps: | ||
|
||
- name: Checkout this repository | ||
uses: actions/[email protected] | ||
|
||
- name: Validate Links Markdown | ||
if: always() | ||
uses: gaurav-nelson/[email protected] | ||
with: | ||
config-file: '.markdownlinkcheck.json' | ||
use-quiet-mode: 'yes' | ||
file-extension: .md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- | ||
name: Markdown Syntax Validation | ||
|
||
on: [push, workflow_dispatch] | ||
|
||
jobs: | ||
markdown-check: | ||
|
||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout this repository | ||
uses: actions/[email protected] | ||
|
||
- name: Validate Markdown | ||
uses: DavidAnson/[email protected] | ||
with: | ||
command: config | ||
globs: | | ||
.markdownlint.json | ||
**.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
name: Validate if commits in PR are signed | ||
on: pull_request | ||
|
||
jobs: | ||
signed-commits-check: | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
||
- name: Check out code | ||
uses: actions/[email protected] | ||
|
||
- name: Check signed commits in PR | ||
uses: 1Password/check-signed-commits-action@v1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
--- | ||
name: Syntax Validation | ||
on: [push, workflow_dispatch] | ||
|
||
jobs: | ||
syntax-check: | ||
name: vale | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout this repository | ||
uses: actions/[email protected] | ||
|
||
- name: Get latest version of Vale | ||
id: lastversion | ||
uses: dvershinin/[email protected] | ||
with: | ||
repository: errata-ai/vale | ||
|
||
- name: Install Vale | ||
run: | | ||
wget https://github.com/errata-ai/vale/releases/download/v${{ steps.lastversion.outputs.last_version }}/vale_${{ steps.lastversion.outputs.last_version }}_Linux_64-bit.tar.gz -O vale.tar.gz | ||
tar -xvzf vale.tar.gz vale | ||
rm vale.tar.gz | ||
- name: Validate the syntax | ||
run: ./vale --config=.vale.ini *.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
--- | ||
name: YAML Validation | ||
on: [push, workflow_dispatch] | ||
|
||
jobs: | ||
yaml-check: | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
||
- name: Checkout this repository | ||
uses: actions/[email protected] | ||
|
||
- name: Lint YAML files | ||
uses: karancode/[email protected] | ||
with: | ||
yamllint_config_datapath: .yamllint.yml | ||
yamllint_strict: true | ||
env: | ||
GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
--- | ||
name: Optimize the Images | ||
on: | ||
push: | ||
branches: | ||
- main | ||
paths: | ||
- "**.png" | ||
- "**.jpe?g" | ||
- "**.svg" | ||
- "**.gif" | ||
workflow_dispatch: | ||
|
||
jobs: | ||
optimize-images: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout the docs repo | ||
uses: actions/[email protected] | ||
|
||
- name: Optimize images | ||
id: optimize-images | ||
uses: Doist/optimize-images-action@v2 | ||
|
||
- name: Import the kube1st GPG key | ||
id: import-gpg | ||
uses: crazy-max/[email protected] | ||
with: | ||
git_committer_name: "kube1st" | ||
git_committer_email: "${{ secrets.GPG_EMAIL }}" | ||
gpg_private_key: "${{ secrets.GPG_PRIVATE_KEY }}" | ||
passphrase: "${{ secrets.GPG_PASSPHRASE }}" | ||
git_user_signingkey: true | ||
git_commit_gpgsign: true | ||
|
||
- name: Create a PR for the new version | ||
uses: peter-evans/[email protected] | ||
with: | ||
token: ${{ secrets.DOCS_PERMISSIONS_TOKEN }} | ||
committer: "kube1st <${{ secrets.GPG_EMAIL }}>" | ||
branch: "optimize/images" | ||
title: "chore: optimize new images with lossless compression" | ||
body: "" | ||
commit-message: "docs: create v${{ github.event.inputs.version }} documentation\n\n${{ steps.optimize-images.outputs.summary }}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
{ | ||
"ignorePatterns": [ | ||
{ | ||
"pattern": "^https://www.linkedin.com.*" | ||
}, | ||
{ | ||
"pattern": ".*\\]$" | ||
}, | ||
{ | ||
"pattern": "https://www.enterprisetimes.co.uk*" | ||
}, | ||
{ | ||
"pattern": "https://www.pexels.com*" | ||
}, | ||
{ | ||
"pattern": "https://www.pngrepo.com" | ||
}, | ||
{ | ||
"pattern": "https://tdwi.org*" | ||
}, | ||
{ | ||
"pattern": "https://www.fakepersongenerator.com*" | ||
}, | ||
{ | ||
"pattern": "https://dash.readme.com*" | ||
}, | ||
{ | ||
"pattern": "https://cfpland.com*" | ||
}, | ||
{ | ||
"pattern": "https://n8n.io*" | ||
}, | ||
{ | ||
"pattern": "https://confs.tech*" | ||
}, | ||
{ | ||
"pattern": "https://businesswire.com*" | ||
}, | ||
{ | ||
"pattern": "https://www.tmcnet.com*" | ||
}, | ||
{ | ||
"pattern": "https://.*kubefirst.dev*" | ||
}, | ||
{ | ||
"pattern": "http://localhost*" | ||
}, | ||
{ | ||
"pattern": "https://gitlab.com*" | ||
}, | ||
{ | ||
"pattern": "https://.*vultr.com*" | ||
} | ||
], | ||
"replacementPatterns": [ | ||
{ | ||
"pattern": "{require(\"(*)\").default}", | ||
"replacement": "*" | ||
}, | ||
{ | ||
"pattern": "^/img/*", | ||
"replacement": "/static/img/*" | ||
} | ||
], | ||
"timeout": "30s", | ||
"retryOn429": true, | ||
"retryCount": 2, | ||
"fallbackRetryDelay": "1m", | ||
"aliveStatusCodes": [200, 429] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"MD013": false, | ||
"MD024": false, | ||
"MD025": false, | ||
"MD033": false, | ||
"MD049": { | ||
"style": "underscore" | ||
}, | ||
"MD050": { | ||
"style": "asterisk" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
StylesPath = styles | ||
Vocab = base | ||
|
||
[formats] | ||
mdx = md | ||
|
||
[*.md] | ||
BasedOnStyles = Custom | ||
Packages = alex | ||
IgnoredScopes = code | ||
BlockIgnores = (?s) *(import.*?\n), \ | ||
(?s) *(### gitops\n) | ||
TokenIgnores = (?s) *(export.*?\n) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
extends: default | ||
|
||
rules: | ||
line-length: disable | ||
truthy: | ||
check-keys: false | ||
|
||
ignore: | | ||
charts/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Oops, something went wrong.