Skip to content

Commit 3df6156

Browse files
committed
Merge remote-tracking branch 'origin/main' into gcp-dedicated
2 parents 34c7c2c + 38936f1 commit 3df6156

File tree

232 files changed

+25684
-16635
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

232 files changed

+25684
-16635
lines changed

.github/workflows/cla.yaml

Lines changed: 10 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
name: "CLA Assistant"
3-
on:
2+
name: "CLA"
3+
on: # yamllint disable-line rule:truthy
44
issue_comment:
55
types:
66
- "created"
@@ -9,21 +9,15 @@ on:
99
- "opened"
1010
- "closed"
1111
- "synchronize"
12-
12+
merge_group:
13+
types:
14+
- "checks_requested"
1315
jobs:
14-
CLAssistant:
16+
cla:
17+
name: "Check Signature"
1518
runs-on: "ubuntu-latest"
1619
steps:
17-
- name: "CLA Assistant"
18-
if: "(github.event.comment.body == 'recheck' || github.event.comment.body == 'I have read the CLA Document and I hereby sign the CLA') || github.event_name == 'pull_request_target'"
19-
uses: "cla-assistant/[email protected]"
20-
env:
21-
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
22-
PERSONAL_ACCESS_TOKEN: "${{ secrets.CLA_ASSISTANT_ACCESS_TOKEN }}"
20+
- uses: "authzed/actions/cla-check@main"
2321
with:
24-
remote-organization-name: "authzed"
25-
remote-repository-name: "cla"
26-
path-to-signatures: "v1/signatures.json"
27-
path-to-document: "https://github.com/authzed/cla/blob/main/v1/icla.md"
28-
branch: "main"
29-
allowlist: "authzedbot,dependabot-bot"
22+
github_token: "${{ secrets.GITHUB_TOKEN }}"
23+
cla_assistant_token: "${{ secrets.CLA_ASSISTANT_ACCESS_TOKEN }}"
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
name: "Link Checker with External Links"
3+
4+
on:
5+
schedule:
6+
- cron: "0 18 * * *" # Daily at 18:00 UTC
7+
workflow_dispatch:
8+
9+
jobs:
10+
link_checker:
11+
name: "Link Checker"
12+
runs-on: "ubuntu-latest"
13+
timeout-minutes: 15
14+
steps:
15+
- uses: "actions/checkout@v3"
16+
- name: "Link Checker"
17+
uses: "filiph/[email protected]"
18+
with:
19+
arguments: "--skip-file /github/workspace/linkcheck-skip.txt -e --no-connection-failures-as-warnings --no-check-anchors https://authzed.com/docs"
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
---
2+
name: "Link Checker"
3+
4+
on:
5+
push:
6+
branches: ["main"]
7+
pull_request:
8+
9+
jobs:
10+
preview:
11+
name: "Preview Deploy"
12+
runs-on: "ubuntu-latest"
13+
outputs:
14+
preview_url: "${{ steps.waitForVercelPreviewDeployment.outputs.url }}"
15+
steps:
16+
- name: "Wait for Vercel preview deployment to be ready"
17+
uses: "patrickedqvist/[email protected]"
18+
id: "waitForVercelPreviewDeployment"
19+
with:
20+
token: "${{ secrets.GITHUB_TOKEN }}"
21+
check_interval: 30
22+
max_timeout: 600
23+
allow_inactive: true
24+
25+
link_checker:
26+
name: "Link Checker"
27+
runs-on: "ubuntu-latest"
28+
needs: "preview"
29+
timeout-minutes: 15
30+
steps:
31+
- uses: "actions/checkout@v3"
32+
- name: "Link Checker"
33+
uses: "filiph/[email protected]"
34+
with:
35+
arguments: "--skip-file /github/workspace/linkcheck-skip.txt ${{ needs.preview.outputs.preview_url }}"

.github/workflows/lint.yaml

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,20 @@ jobs:
1212
name: "Lint Everything"
1313
runs-on: "ubuntu-latest"
1414
steps:
15-
- uses: "actions/checkout@v2"
16-
- uses: "bewuethr/yamllint-action@v1.1.1"
15+
- uses: "actions/checkout@v6"
16+
- uses: "bewuethr/yamllint-action@v1.3.0"
1717
with:
1818
config-file: ".yamllint"
19-
- uses: "nosborn/github-action-[email protected]"
19+
- uses: "pnpm/action-setup@v4"
2020
with:
21-
files: "."
22-
config_file: ".markdownlint.yaml"
21+
run_install: false
22+
- name: "Install Node.js"
23+
uses: "actions/setup-node@v6"
24+
with:
25+
cache: "pnpm"
26+
- name: "Install dependencies"
27+
run: "pnpm install"
28+
- name: "Lint Markdown"
29+
run: "pnpm run lint:markdown"
30+
- name: "Check Formatting"
31+
run: "pnpm run format:check"

.github/workflows/spellcheck.yaml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
---
2+
name: "Spellcheck"
3+
on:
4+
push:
5+
branches:
6+
- "main"
7+
paths:
8+
- "**/*.md"
9+
- "**/*.mdx"
10+
- "spellcheck.yaml"
11+
- "wordlist.txt"
12+
- ".github/workflows/spellcheck.yaml"
13+
pull_request:
14+
paths:
15+
- "**/*.md"
16+
- "**/*.mdx"
17+
- "spellcheck.yaml"
18+
- "wordlist.txt"
19+
- ".github/workflows/spellcheck.yaml"
20+
21+
jobs:
22+
spellcheck:
23+
name: "Spellcheck"
24+
runs-on: "ubuntu-latest"
25+
steps:
26+
- uses: "actions/checkout@v4"
27+
- uses: "rojopolis/spellcheck-github-actions@dbd2f1da869c05ad874fffeb6fe1ed50cd1a6e98" # v0.36.0
28+
name: "Spellcheck"
29+
with:
30+
config_path: "spellcheck.yaml"

.gitignore

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,15 @@
1-
.docusaurus/*
21
build/*
32
node_modules/*
43
.vercel
4+
.next
5+
.env*
6+
tsconfig.tsbuildinfo
7+
_pagefind/
8+
out/
9+
pagefind.log
10+
11+
# Generated
12+
public/robots.txt
13+
public/sitemap-0.xml
14+
public/sitemap.xml
15+
public/feed.json

.markdownlint-cli2.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
config:
2+
fenced-code-language: false
3+
first-line-h1: false
4+
line-length: false
5+
link-image-reference-definitions: false
6+
no-duplicate-heading: false
7+
no-hard-tabs: false
8+
no-inline-html: false
9+
no-multiple-blanks: false
10+
no-trailing-spaces: false
11+
max-one-sentence-per-line: false
12+
list-marker-space: false
13+
customRules:
14+
- "markdownlint-rule-max-one-sentence-per-line"
15+
fix: false
16+
globs:
17+
- "pages/**/*{.mdx,.md.markdown}"

.markdownlint.yaml

Lines changed: 0 additions & 6 deletions
This file was deleted.

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
enable-pre-post-scripts=true

.pre-commit-config.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
repos:
3+
- repo: "https://github.com/DavidAnson/markdownlint-cli2"
4+
rev: "v0.14.0"
5+
hooks:
6+
- id: "markdownlint-cli2"
7+
types:
8+
- "mdx"
9+
- repo: "https://github.com/adrienverge/yamllint"
10+
rev: "v1.35.1"
11+
hooks:
12+
- id: "yamllint"

0 commit comments

Comments
 (0)