Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
225 commits
Select commit Hold shift + click to select a range
9f30453
[Ruleset Engine] Use APIRequest component (#21252)
pedrosousa Apr 1, 2025
720b26c
[Page Shield] Clarify alerts on policies (#21287)
pedrosousa Apr 1, 2025
0d73989
[AIG]: remove beta badges from the ai gateway logs (#21250)
danielgek Apr 1, 2025
f6d88cd
[Cache] Updates plan information (#21285)
angelampcosta Apr 1, 2025
8ac9627
[SaaS] Update getting-started.mdx (#21143)
ngayerie Apr 1, 2025
793a69e
Remove incorrect backticks present in vite3 page (#21290)
dario-piotrowicz Apr 1, 2025
f4d1bbf
[Docs Site] Bump @cloudflare/vitest-pool-workers from 0.8.6 to 0.8.8 …
dependabot[bot] Apr 1, 2025
45e821b
[WAF, REng] Clarify skip rules scope (#21291)
pedrosousa Apr 1, 2025
e2c49a0
Release-Apr-01-2025 (#21245)
vs-mg Apr 1, 2025
3e7e916
Update frequently-asked-questions.mdx (#21238)
omer-cloudflare Apr 1, 2025
e2e1655
[Docs Site] Escape double quotes in CURL component (#21292)
KianNH Apr 1, 2025
f79a94d
[Docs Site] Bump typescript-eslint from 8.28.0 to 8.29.0 (#21274)
dependabot[bot] Apr 1, 2025
a714bc8
Clarify permissions for notifications and webhooks (#20741)
jasoncabot Apr 1, 2025
26ef0cf
[Email Security] Update Email Security roles (#21289)
Maddy-Cloudflare Apr 1, 2025
d2f955c
[Images] Update quality.mdx (#20948)
nenizera Apr 1, 2025
0dbcd77
[Images]Update troubleshooting.mdx (#19272)
nenizera Apr 1, 2025
84a2092
Add ai gateway get url binding method docs (#21293)
G4brym Apr 1, 2025
7c8f41b
Update cancel-subscription.mdx (#20297)
travisgahn Apr 1, 2025
00e98ae
[Version Management] Update get-started.mdx (#21209)
ngayerie Apr 1, 2025
0806e55
SPM-2787 (#21207)
Duncan-Cloudflare Apr 1, 2025
cb717e0
[iDNS] Fix mermaid reference zone example in Overview (#21296)
RebeccaTamachiro Apr 1, 2025
7d69417
Does a new docs run and adds pricing info. Renames Features to Info (…
craigsdennis Apr 1, 2025
fa0b7aa
[Docs Site] Support JSON arrays in APIRequest and CURL (#21297)
KianNH Apr 1, 2025
f89a00f
udpate next c3 flag (#21273)
emily-shen Apr 1, 2025
6be3e9f
[Docs Site] Bump astro from 5.5.5 to 5.5.6 (#21275)
dependabot[bot] Apr 1, 2025
f385671
Redact s3 api creds (#21205)
mnewswanger-cloudflare Apr 1, 2025
3e6ab94
Fix dash to be consistent with other items (#21243)
cjolowicz Apr 1, 2025
a27ceef
add note about the days of the week in cron settings (#21257)
petebacondarwin Apr 1, 2025
27ff9c2
Fix links for setWebSocketAutoResponse (#21242)
anarkrypto Apr 1, 2025
77ccc12
SPM-2787 (#21206)
Duncan-Cloudflare Apr 1, 2025
e2d3cdf
[Browser Rendering] Fix how to AI example formatting (#19713)
Yizack Apr 1, 2025
1d0ecff
Unused images april (#21302)
kodster28 Apr 1, 2025
815d696
fix fragment link to the delete worker command in wrangler commands (…
avramch Apr 1, 2025
e364a31
Improve clarity of Pages > Build Image > Limitations (#20178)
1000hz Apr 1, 2025
95d6ce2
[Docs Site] add missing type highlighting to c3.mdx (#19716)
minddust Apr 1, 2025
48cb4b8
Added email address (#21310)
dcpena Apr 1, 2025
0c2cd76
[Docs Site] Bump @types/node from 22.13.14 to 22.13.17 (#21307)
dependabot[bot] Apr 2, 2025
27e2710
[Docs Site] Bump algoliasearch from 5.23.0 to 5.23.1 (#21308)
dependabot[bot] Apr 2, 2025
dfb2ddb
[Docs Site] Bump @typescript-eslint/parser from 8.28.0 to 8.29.0 (#21…
dependabot[bot] Apr 2, 2025
92af7a0
Update authorization.mdx (#21318)
cd80 Apr 2, 2025
0830bf9
[Cache] Edits table (#21294)
angelampcosta Apr 2, 2025
8b3fe44
Replicates PR 20261 (#21319)
angelampcosta Apr 2, 2025
90d8bcc
[DNS] Update notifications/index.yaml (#21320)
RebeccaTamachiro Apr 2, 2025
326b4bd
[Area 1] Fix table (#21324)
Maddy-Cloudflare Apr 2, 2025
4c3f89e
Update reuse-sessions.mdx (#21305)
kodster28 Apr 2, 2025
e59ec12
[Rules] Use APIRequest component in API examples (#21215)
pedrosousa Apr 2, 2025
f138cfd
[MT] IPv6 beta (#21325)
marciocloudflare Apr 2, 2025
6087116
Update mta-sts.mdx (#21306)
kodster28 Apr 2, 2025
ef7c3b7
[API Shield] Sequence rules lookback window matching mechanism (#21303)
patriciasantaana Apr 2, 2025
367243b
New reference architecture diagram: Storing user generated content (#…
thomas-desmond Apr 2, 2025
0448403
fix broken link (#21327)
emily-shen Apr 2, 2025
2c8944a
small usability fixes for workers ai (#21317)
mchenco Apr 2, 2025
2f9a1a2
Release-Apr-02-2025 (#21330)
vs-mg Apr 2, 2025
fd144d9
Fix issue: WorkspaceTaskSubType.META_DESCRIPTION (#20548)
hyperlint-ai[bot] Apr 2, 2025
14087b0
Fix issue: WorkspaceTaskSubType.META_DESCRIPTION (#20543)
hyperlint-ai[bot] Apr 2, 2025
ec9c6e3
Hyperlint Automation: Meta Description Fixes (#20541)
hyperlint-ai[bot] Apr 2, 2025
4d42557
[ZT] Update ZT permission names and descriptions (#21295)
ranbel Apr 2, 2025
c1740cc
Removes mentions to Ent (#21333)
angelampcosta Apr 2, 2025
2a4b46f
[Support] Moves other errors to HTTP/2 (#21321)
angelampcosta Apr 2, 2025
c9b1755
Update categories.mdx (#21314)
amartinetticf Apr 2, 2025
02a28b8
Update how-ddos-protection-works.mdx (#21323)
omer-cloudflare Apr 2, 2025
cbf407e
[Turnstile] Align availability table (#21309)
patriciasantaana Apr 2, 2025
d4e1197
Update ai-gateway.yaml (#21336)
kathayl Apr 2, 2025
55158be
Update gathering-information-for-troubleshooting-sites.mdx (#21267)
nenizera Apr 2, 2025
a036dac
Update routes.mdx (#21304)
kodster28 Apr 2, 2025
37aa7cf
CACHE-11939: add request cf overriding cache rules compat flags (#20965)
yj7o5 Apr 2, 2025
e23afc2
update rbi accessibility page (#21337)
ranbel Apr 2, 2025
1a15ffe
Moved file & added redirect (#21339)
dcpena Apr 2, 2025
2422c65
durable objects: FURTHER clarify blockConcurrencyWhile (#21326)
elithrar Apr 2, 2025
0938f40
[Docs Site] Bump @cloudflare/workers-types (#21340)
dependabot[bot] Apr 3, 2025
03aa97a
[Docs Site] Bump fast-xml-parser from 5.0.9 to 5.1.0 (#21341)
dependabot[bot] Apr 3, 2025
ae7aa39
[Docs Site] Bump @types/node from 22.13.17 to 22.14.0 (#21343)
dependabot[bot] Apr 3, 2025
adc7f09
[Speed]Update troubleshooting.mdx (#21322)
nenizera Apr 3, 2025
ddf1e1a
[Docs Site] Bump @cloudflare/vitest-pool-workers from 0.8.8 to 0.8.9 …
dependabot[bot] Apr 3, 2025
8873967
[Docs Site] Bump @floating-ui/react from 0.27.5 to 0.27.6 (#21344)
dependabot[bot] Apr 3, 2025
5313fe5
[WAF] Update malicious uploads example (#21360)
pedrosousa Apr 3, 2025
c87eebe
[Page Shield] Clarify where sampling occurs (#21363)
pedrosousa Apr 3, 2025
d8de639
[Images] Added tutorials and examples (#21345)
dcpena Apr 3, 2025
a153375
missing await for response.text() (#20392)
bodadotsh Apr 3, 2025
335bf1b
Change log for Automatic Audit Logs Beta release (#21329)
Sahidya Apr 3, 2025
ab1ddf9
[Workers] Update to workers builds limits and pricing (#21212)
ToriLindsay Apr 3, 2025
43fc3f2
[Ruleset Engine] Update request header fields (#21364)
pedrosousa Apr 3, 2025
2aca7fb
[CF1] WARP limits (#21300)
deadlypants1973 Apr 3, 2025
d288aed
fix: wrap Images binding examples in <WranglerConfig> (#21365)
jahands Apr 3, 2025
5d309fb
Reorganizes purge limits table (#21369)
angelampcosta Apr 3, 2025
4f5da26
Workers-ai-typescript (#21253)
daisyfaithauma Apr 3, 2025
b388f1d
Proposal for updated Workers AI side nav (#21023)
rickyrobinett Apr 3, 2025
90f4259
Updates section title (#21370)
angelampcosta Apr 3, 2025
73f666c
add availability (#21374)
ranbel Apr 3, 2025
7a130e2
[Rules] Add disclaimer to Terraform examples (#21373)
pedrosousa Apr 3, 2025
2868b2d
ack-cf/purge-for-all (#21354)
ack-cf Apr 3, 2025
c9c46db
placeholder variables (#21377)
ranbel Apr 3, 2025
a51297b
Update workers.yaml (#21366)
ketanhwr Apr 3, 2025
04d4731
[ES] Remove trailing spaces (#21379)
vil02 Apr 3, 2025
bed2c82
[ZT] Split Tunnel and Local Domain Fallback limits (#21380)
ranbel Apr 3, 2025
944b1a5
Add compat flag for assets (#21375)
GregBrimble Apr 3, 2025
c54f12d
[ZT] Revise non-identity block page description (#21384)
ranbel Apr 3, 2025
acb1fbf
[Bots] Navigation refresh (#21348)
patriciasantaana Apr 3, 2025
decbdee
Add Google IP Protection to third party warning (#21382)
maxvp Apr 3, 2025
939c5fd
[BRAPI] json endpoint docs (#20981)
daisyfaithauma Apr 4, 2025
03c433a
Vite plugin docs (#20481)
jamesopstad Apr 4, 2025
f066d7a
[CF1] windows application check (#21378)
deadlypants1973 Apr 4, 2025
3b96a4a
[MT] Refined IPv6 text (#21395)
marciocloudflare Apr 4, 2025
8b89f1e
[BRAPI]Markdown endpoint docs (#21017)
daisyfaithauma Apr 4, 2025
b67c41e
[cache]Update cache-responses.mdx (#21400)
nenizera Apr 4, 2025
f65235a
[CF1] windows pcaps limit (#21396)
deadlypants1973 Apr 4, 2025
6cdb080
[Fundamentals] Update cloudflare-ray-id.mdx (#21393)
ngayerie Apr 4, 2025
5104752
[Stream] Remove trailing spaces (#21401)
vil02 Apr 4, 2025
e2e6210
[Docs Site] Support array search params in ProductCatalog filters (#2…
KianNH Apr 4, 2025
a39c1bb
[CF1] windows error with clientless web isolation (#21406)
deadlypants1973 Apr 4, 2025
541b434
Adds Playwright documentation (#21402)
celso Apr 4, 2025
9c3d3b2
Add load balancing section (#21385)
maxvp Apr 4, 2025
fd395fe
[Docs Site] Scope node_modules/.astro caching to just assets (#21412)
KianNH Apr 4, 2025
8d5950f
SQC-480 add sslmode flag to hyperdrive command (#21261)
Ltadrian Apr 4, 2025
7ead684
update docs for R2 Account level and User level API tokens (#21350)
smellercf Apr 4, 2025
0c9141e
[Docs Site] Add workflow to update api-schemas pinned commit (#21416)
KianNH Apr 4, 2025
c6efcf8
[Docs Site] Document RSSButton component (#21409)
KianNH Apr 4, 2025
e7dd21b
[Docs Site] Fix branch name in API schema workflow (#21417)
KianNH Apr 4, 2025
328febc
Update __redirects (#21421)
kodster28 Apr 4, 2025
f917f35
[Gateway] Sandboxing environment (#21279)
maxvp Apr 4, 2025
244442f
Update update-billing-info.mdx (#20157)
travisgahn Apr 4, 2025
8ccd121
adding scout (#21429)
mchenco Apr 6, 2025
c30ee9f
[DO] FT + SRS GA Docs (#20938)
Oxyjun Apr 6, 2025
5e35d32
fix changelog (#21432)
elithrar Apr 6, 2025
5109e9a
Create 2025-04-07-br-free-ga-playwright.mdx (#21407)
kathayl Apr 6, 2025
decab3c
removed beta label (#21423)
daisyfaithauma Apr 6, 2025
a836502
[BRAPI ]Updated limits and workers plan (#21424)
daisyfaithauma Apr 6, 2025
9bc1757
workflows: new docs (#21313)
elithrar Apr 6, 2025
8d6ada8
WIP Autorag (#20865)
aninibread Apr 6, 2025
4d6d03b
Update Node.js Compat docs to mirror compatibility report (#21433)
irvinebroque Apr 7, 2025
484cb59
Fix Wrangler config Pages docs (#21437)
GregBrimble Apr 7, 2025
14fb5e7
add deploy to cloudflare docs + fix getting started (#21107)
nevikashah Apr 7, 2025
ffcefcc
Add note about hibernation support for McpAgent
dinasaur404 Apr 7, 2025
c4dfccf
Add auth provider integrations, authentication context, and permissio…
dinasaur404 Apr 7, 2025
dbc63be
Update browser-rendering.yaml (#21434)
kathayl Apr 7, 2025
58b857e
[Docs Site] Update pinned api-schemas commit to 4d4c0c37d73f057fa2ed1…
github-actions[bot] Apr 7, 2025
c6c4bb0
Update log fields to include Registration ID (#21391)
kkelkar Apr 7, 2025
29e66e5
[workers-observability] remove source maps reference to open beta (#2…
rohinlohe Apr 7, 2025
f70c164
[workers-observability] update workers logs billing start date (#21140)
rohinlohe Apr 7, 2025
8468e30
Fixed limits page (#21444)
daisyfaithauma Apr 7, 2025
2110c24
Removed header limits for custom fields (#21408)
Sahidya Apr 7, 2025
6796708
[BYOIP] Service bindings to mix CDN with Spectrum (#21368)
RebeccaTamachiro Apr 7, 2025
4b97881
[Docs Site] Add Width component (#21415)
KianNH Apr 7, 2025
ccb8035
[Docs Site] Add maxDepth to DirectoryListing (#21411)
KianNH Apr 7, 2025
7d4de67
[Docs Site] Create YouTubeVideos component (#21414)
KianNH Apr 7, 2025
c8a49af
update wrangler config docs to include vite plugin (#21137)
emily-shen Apr 7, 2025
b0f48e0
Add `wrangler check startup` docs (#19877)
penalosa Apr 7, 2025
556742f
[workers-observability] changelog: increase workers trace events limi…
rohinlohe Apr 7, 2025
cf6d02b
[SSL] Remove trailing spaces (#21431)
vil02 Apr 7, 2025
e0d1c38
docs: Remove parameters table from JSON endpoint documentation (#21447)
omarmosid Apr 7, 2025
96174a8
[Ruleset Eng, Workers] Add new TLS fields (#21445)
pedrosousa Apr 7, 2025
b7f44ea
Drop packages from Auth0 example link (#21452)
dinasaur404 Apr 7, 2025
35fb647
[Docs Site] Add Copy Page dropdown for Markdown (#21404)
KianNH Apr 7, 2025
91bdbab
[CF1] local tunnel update instructions (#21410)
deadlypants1973 Apr 7, 2025
f997154
updating yt component to only show relevant videos (#21450)
jason-cf Apr 7, 2025
b65f718
[Docs Site] Bump astro from 5.5.6 to 5.6.1 (#21419)
dependabot[bot] Apr 7, 2025
2bf519e
[MNN] New rule types (#21448)
marciocloudflare Apr 7, 2025
336fee7
[Docs Site] Bump @cloudflare/workers-types (#21420)
dependabot[bot] Apr 7, 2025
8394a42
[Docs Site] Bump eslint-plugin-react from 7.37.4 to 7.37.5 (#21386)
dependabot[bot] Apr 7, 2025
2719b72
[Docs Site] Bump dompurify from 3.2.4 to 3.2.5 (#21388)
dependabot[bot] Apr 7, 2025
7f4d461
[Docs Site] Bump rehype-remark from 10.0.0 to 10.0.1 (#21389)
dependabot[bot] Apr 7, 2025
c699f29
fix: starlight dependency (#21435)
elithrar Apr 7, 2025
860c75b
Update authorization.mdx (#21456)
dinasaur404 Apr 7, 2025
4105982
[MWAN] Added note about cloudflared (#21458)
marciocloudflare Apr 7, 2025
c7e2ddb
Fix link in Auth0 example (#21441)
dinasaur404 Apr 7, 2025
dcfcb40
Update pages tutorial deploy command (#21371)
kodster28 Apr 7, 2025
d7df4ec
Fixed image in AutoRAG + Codeowners (#21459)
aninibread Apr 7, 2025
965910f
added demo video (#21461)
aninibread Apr 7, 2025
d106c66
Adds info about Smart Tiered Cache (#21460)
angelampcosta Apr 7, 2025
13434ae
[MCN] Refines docs (#21463)
marciocloudflare Apr 7, 2025
5dca0a8
[WAF] Use APIRequest component in API examples (#21216)
pedrosousa Apr 7, 2025
8c793b8
Update bedrock example for AI Gateway (#21457)
captainvera Apr 7, 2025
43e4f59
include platform=pages (#21331)
emily-shen Apr 7, 2025
cd1147b
[Images] Remove trailing spaces (#21467)
vil02 Apr 7, 2025
c0f5fab
[WAF] FW for AI: Add API instructions (#21465)
pedrosousa Apr 7, 2025
4929936
[MWAN] Fortinet nat-t (#21468)
marciocloudflare Apr 7, 2025
496b9bf
[Hyperdrive] MySQL for Hyperdrive changelog announcement (#21351)
thomasgauvin Apr 7, 2025
826ab99
[Hyperdrive] changelog (#21352)
thomasgauvin Apr 7, 2025
0a8f811
Tracking for buttons (#21470)
kodster28 Apr 7, 2025
12f289b
[workers-observability] Add changelog entry for CPU time and Wall tim…
rohinlohe Apr 7, 2025
5f9e64b
[Docs Site] Add product filter to /search/ (#21462)
KianNH Apr 7, 2025
fffa3a3
update various framework guides (hono, react etc.) (#21367)
emily-shen Apr 7, 2025
40e231b
New Vite plugin docs for local development (#20586)
korinne Apr 7, 2025
bef74d1
Update __redirects (#21474)
kodster28 Apr 7, 2025
a356632
Re-add directory listing component (#21475)
maxvp Apr 7, 2025
1e799bd
Update ai-bots-definition.mdx (#21315)
amartinetticf Apr 7, 2025
442a248
[ZT] Multi-user phase 2 (#21312)
ranbel Apr 7, 2025
9a699c3
Replace Remix framework guide with new React Router framework guide (…
jamesopstad Apr 7, 2025
9d05db2
Non-production branch builds, GitHub comments and preview URLs (#21383)
GregBrimble Apr 7, 2025
756b8b0
Workers with static assets metafiles support (#21442)
GregBrimble Apr 7, 2025
eecdb27
[Hyperdrive] MySQL (#21346)
thomasgauvin Apr 8, 2025
34d8eda
[Hyperdrive] Adjustement to pricing and limits for tier update (#21353)
thomasgauvin Apr 8, 2025
381401a
Adds tls and crypto updates for node and changelog (#21482)
mikenomitch Apr 8, 2025
ae8c2ce
Updates Next Framework Guide for deploying on Workers (#21256)
vicb Apr 8, 2025
caad2a0
[Workflows] fix: alerts syntax (#21494)
chesha1 Apr 8, 2025
d88b77d
[Pages] Fix typo (#21497)
florianjs Apr 8, 2025
d203837
remove beta tags for static assets (#21500)
emily-shen Apr 8, 2025
59a10ce
[workers] Update vitest getting started guide (#21454)
emily-shen Apr 8, 2025
2fe31af
adds changelog for vite plugin (#21490)
korinne Apr 8, 2025
71d677a
Adds changelog for full-stack GA support (#21485)
korinne Apr 8, 2025
9a00202
deploy to cf changelog (#21488)
nevikashah Apr 8, 2025
83a1169
Unhide Tuesday dev week changelogs (#21498)
vy-ton Apr 8, 2025
e147b01
Update restoring-original-visitor-ips.mdx (#21491)
matthewzring Apr 8, 2025
4138c0f
remove limitation (#21502)
emily-shen Apr 8, 2025
edf7491
[Docs Site] Bump typescript from 5.8.2 to 5.8.3 (#21476)
dependabot[bot] Apr 8, 2025
851e9a3
[Docs Site] Bump @cloudflare/vitest-pool-workers from 0.8.9 to 0.8.12…
dependabot[bot] Apr 8, 2025
2718851
[Docs Site] Bump algoliasearch from 5.23.1 to 5.23.3 (#21477)
dependabot[bot] Apr 8, 2025
031579d
thomasgauvin: add troubleshooting for postgresjs not getting cached (…
thomasgauvin Apr 8, 2025
d7ed069
pq support: caddy has PQ in beta (#21453)
bwesterb Apr 8, 2025
8c412f9
Add headers and redirects section to Vite plugin docs (#21504)
jamesopstad Apr 8, 2025
769f69e
[mConn] Removed link (#21506)
marciocloudflare Apr 8, 2025
fdf80a2
agents: Update calling-agents.mdx (#21501)
elithrar Apr 8, 2025
78c6b4c
[Vectorize] Pricing inaccuracy (#21510)
kodster28 Apr 8, 2025
13baf09
[ZT] RDP beta feedback (#21487)
ranbel Apr 8, 2025
2dbd5d7
pcx-16692 (#21484)
ranbel Apr 8, 2025
00e2b03
[Docs Site] Bump typescript-eslint from 8.29.0 to 8.29.1 (#21478)
dependabot[bot] Apr 8, 2025
11ac5b1
Email Workers local development (#21399)
celso Apr 8, 2025
c01bbbd
[ZT] Device Information Mode cert locations (#21472)
ranbel Apr 8, 2025
968a9da
Remove duplicate workflow ID row (#21508)
sammdec Apr 8, 2025
fbe769d
Adding retry steps.
Oxyjun Apr 8, 2025
4b9a727
chore: Fix redirected MDN URLs for HTTP headers docs (#21499)
bsmth Apr 8, 2025
26489dc
Fixing heading numbering.
Oxyjun Apr 8, 2025
d50ebb9
Updated role title (#21514)
dcpena Apr 8, 2025
82e0962
Merge branch 'jun/d1/tutorial-update' of github.com:cloudflare/cloudf…
harshil1712 Apr 8, 2025
a365581
update retry
harshil1712 Apr 9, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
/src/content/release-notes/workers-ai.yaml @kathayl @G4brym @mchenco @daisyfaithauma @cloudflare/pcx-technical-writing
/src/content/release-notes/ai-gateway.yaml @kathayl @G4brym @mchenco @daisyfaithauma @cloudflare/pcx-technical-writing
/src/content/release-notes/vectorize.yaml @elithrar @mchenco @sejoker @cloudflare/pcx-technical-writing
/src/content/docs/autorag/ @rita3ko @irvinebroque @aninibread @ToriLindsay @cloudflare/pcx-technical-writing

# Analytics & Logs

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- uses: actions/cache/restore@v4
with:
path: |
node_modules/.astro
node_modules/.astro/assets
key: static

- run: npm ci
Expand All @@ -49,7 +49,7 @@ jobs:
- uses: actions/cache/save@v4
with:
path: |
node_modules/.astro
node_modules/.astro/assets
key: static

- name: Check - Validate redirects (infinite loops, sources with fragment)
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/image-audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
id: find-files
run: |
# Find all .png and .svg files, but only look in the ./src/assets/images directory
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/*")
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/*")

# Check if files are referenced in any markdown file
UNUSED_FILES=""
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- uses: actions/cache/restore@v4
with:
path: |
node_modules/.astro
node_modules/.astro/assets
key: static
- run: npm run build
name: Build
Expand All @@ -51,5 +51,5 @@ jobs:
if: always()
with:
path: |
node_modules/.astro
node_modules/.astro/assets
key: static
4 changes: 2 additions & 2 deletions .github/workflows/publish-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- uses: actions/cache/restore@v4
with:
path: |
node_modules/.astro
node_modules/.astro/assets
key: static
- run: npm run build
name: Build
Expand All @@ -36,5 +36,5 @@ jobs:
if: always()
with:
path: |
node_modules/.astro
node_modules/.astro/assets
key: static
67 changes: 67 additions & 0 deletions .github/workflows/update-api-schemas.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
name: Update api-schemas pinned commit

on:
schedule:
- cron: "0 0 * * *"
workflow_dispatch:

jobs:
check-and-update:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write

steps:
- name: Checkout docs repository
uses: actions/checkout@v4

- name: Get latest api-schemas commit
id: get-commit
run: |
LATEST_COMMIT=$(curl -s -H "Accept: application/vnd.github.v3+json" \
https://api.github.com/repos/cloudflare/api-schemas/commits/main | \
jq -r '.sha')
echo "latest_commit=$LATEST_COMMIT" >> $GITHUB_OUTPUT

- name: Check current commit reference
id: check-current
run: |
CURRENT_COMMIT=$(grep 'const COMMIT = ' src/util/api.ts | sed 's/.*"\(.*\)".*/\1/')
echo "current_commit=$CURRENT_COMMIT" >> $GITHUB_OUTPUT

- name: Create PR if needed
if: steps.get-commit.outputs.latest_commit != steps.check-current.outputs.current_commit
run: |
# Set up git config
git config --global user.name 'github-actions[bot]'
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
NEW_COMMIT="${{ steps.get-commit.outputs.latest_commit }}"
BRANCH_NAME="update-api-schemas-$NEW_COMMIT"

# Check if PR already exists
EXISTING_PR=$(gh pr list --head "$BRANCH_NAME" --json number --jq '.[0].number')
if [ -n "$EXISTING_PR" ]; then
echo "PR already exists for branch $BRANCH_NAME. Skipping PR creation."
exit 0
fi

# Create a new branch
git checkout -b $BRANCH_NAME

# Update the commit reference
sed -i "s/const COMMIT = \".*\"/const COMMIT = \"$NEW_COMMIT\"/" src/util/api.ts

# Commit and push changes
git add src/util/api.ts
git commit -m "[Docs Site] Update pinned api-schemas commit to $NEW_COMMIT"
git push origin $BRANCH_NAME

# Create pull request
gh pr create \
--title "[Docs Site] Update pinned api-schemas commit" \
--body "This PR updates the api-schemas commit reference to the latest version ($NEW_COMMIT)." \
--base production \
--head $BRANCH_NAME
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Loading
Loading