Skip to content

Commit 398302a

Browse files
authored
Merge branch 'production' into max/gw/block-google-drive
2 parents 1634e69 + 203a984 commit 398302a

File tree

3,391 files changed

+220469
-148498
lines changed

Some content is hidden

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

3,391 files changed

+220469
-148498
lines changed

.github/CODEOWNERS

Lines changed: 66 additions & 57 deletions
Large diffs are not rendered by default.

.github/dependabot.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "npm"
4+
directory: "/"
5+
versioning-strategy: "increase"
6+
commit-message:
7+
prefix: "[Docs Site] "
8+
schedule:
9+
interval: "daily"
10+
assignees:
11+
- "KianNH"
12+
reviewers:
13+
- "KianNH"

.github/styles/cloudflare/LinkChecks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#
66
# For a list of all options, see https://vale.sh/docs/topics/styles/
77
extends: existence
8-
message: "**Warning**: When referring to another page in our docs, use the full relative link (`/1.1.1.1/check/`) instead of the full URL (`https://developers.cloudflare.com/1.1.1.1/check/`) or a local development link (`http://localhost:111/1.1.1.1/check/`)."
8+
message: "**Warning**: When referring to another page in our docs, use the full relative link (`/1.1.1.1/check/`) instead of the full URL (`https://developers.cloudflare.com/1.1.1.1/check/`) or a local development link (`http://localhost:1111/1.1.1.1/check/`)."
99
level: warning
1010
ignorecase: true
1111
scope: raw

.github/styles/cloudflare/NonStandardQuotes.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#
66
# For a list of all options, see https://vale.sh/docs/topics/styles/
77
extends: existence
8-
message: "Use standard single quotes or double quotes only. Do not use left or right quotes."
8+
message: "Use standard single quotes or double quotes only. Do not use any of the following quote mark types: ‘ ’ “ ”. In the text, we found this character: %s"
99
level: warning
1010
ignorecase: true
1111
link: https://developers.cloudflare.com/style-guide/grammar/punctuation-marks-and-symbols/quotation-marks/

.github/styles/config/vocabularies/cloudflare/accept.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ cloudflared
77
Datadog
88
GitHub
99
GitLab
10+
HashiCorp
1011
Hono
1112
HTTP
1213
HTTPS

.github/workflows/anchor-link-audit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
3737
- run: npm ci
3838

39-
- run: npx astro build
39+
- run: npm run build
4040
env:
4141
NODE_OPTIONS: "--max-old-space-size=4192"
4242

.github/workflows/api-links-crawl.yml

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

.github/workflows/ci.yml

Lines changed: 24 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -20,29 +20,40 @@ jobs:
2020
- uses: actions/setup-node@v4
2121
with:
2222
node-version: 22
23-
24-
- name: Get npm cache directory
25-
id: npm-cache-dir
26-
shell: bash
27-
run: echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT}
28-
29-
- uses: actions/cache@v4
30-
id: npm-cache
23+
cache: "npm"
24+
- uses: actions/cache/restore@v4
3125
with:
32-
path: ${{ steps.npm-cache-dir.outputs.dir }}
33-
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
34-
restore-keys: |
35-
${{ runner.os }}-node-
26+
path: |
27+
node_modules/.astro
28+
key: static
3629

3730
- run: npm ci
3831
- run: npm run check
3932

40-
## TODO: formatting checks
33+
- uses: reviewdog/action-eslint@v1
34+
with:
35+
github_token: ${{ secrets.GITHUB_TOKEN }}
36+
reporter: github-pr-review
37+
fail_level: error
38+
filter_mode: nofilter
4139

40+
- run: npm run format:core:check
41+
## TODO: content formatting checks
4242
- run: npm run build
4343
env:
4444
NODE_OPTIONS: "--max-old-space-size=4192"
4545
RUN_LINK_CHECK: true
4646

47+
- run: npm run check:worker
48+
49+
- uses: actions/cache/save@v4
50+
with:
51+
path: |
52+
node_modules/.astro
53+
key: static
54+
4755
- name: Check - Validate redirects (infinite loops, sources with fragment)
4856
run: npx tsm bin/validate-redirects.ts
57+
58+
- name: Tests
59+
run: npm run test

.github/workflows/image-audit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
id: find-files
2222
run: |
2323
# Find all .png and .svg files, but only look in the ./src/assets/images directory
24-
FILES=$(find . -type f \( -name "*.png" -o -name "*.svg" \) -path "./src/assets/images/*")
24+
FILES=$(find . -type f \( -name "*.png" -o -name "*.svg" \) -path "./src/assets/images/*" -not -path "./src/assets/images/workers-ai/*.svg" -not -path "./src/assets/images/workers/ai/*.png" -not -path "./src/assets/images/changelog-next/*")
2525
2626
# Check if files are referenced in any markdown file
2727
UNUSED_FILES=""

.github/workflows/publish-preview.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,11 @@ jobs:
1212
runs-on: ubuntu-22.04
1313
permissions:
1414
contents: read
15-
name: Publish to Cloudflare Pages (Preview)
15+
name: Publish Preview
1616
steps:
1717
- uses: actions/checkout@v4
18+
with:
19+
fetch-depth: 0
1820
- uses: actions/setup-node@v4
1921
with:
2022
node-version: 22.x
@@ -23,25 +25,24 @@ jobs:
2325
- uses: actions/cache/restore@v4
2426
with:
2527
path: |
26-
node_modules/.astro/_astro
27-
node_modules/.astro/assets
28+
node_modules/.astro
2829
key: static
29-
- run: npx astro build
30+
- run: npm run build
31+
name: Build
3032
env:
3133
NODE_OPTIONS: --max-old-space-size=4096
3234
- run: npx wrangler pages deploy --project-name cloudflare-docs dist
3335
name: Deploy to Cloudflare Pages
3436
env:
3537
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
3638
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
37-
- run: npm run build:worker && npx wrangler versions upload -c ./wrangler-workers.toml
38-
name: Deploy to Cloudflare Workers [preview]
39+
- run: npx wrangler versions upload -c ./wrangler-workers.toml
40+
name: Deploy to Cloudflare Workers
3941
env:
4042
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
4143
- uses: actions/cache/save@v4
4244
if: always()
4345
with:
4446
path: |
45-
node_modules/.astro/_astro
46-
node_modules/.astro/assets
47+
node_modules/.astro
4748
key: static

0 commit comments

Comments
 (0)