Cloudflare’s documentation
Find a file
cd rubin 1e146bf316
Example custom semgrep rule for detecting fixed time references that is stored in repo for scanning against pull requests (#26647)
* Include custom semgrep rule stored in repo for scanning against pull requests

* disable metrics and root path to avoid warnings

* This rule must use the generic semgrep parser

* include a way to skip the local semgrep scan by including [skip semgrep] in commit message

* Require a fetch-depth of 0 to get all of the history

* Iin CI we compare committed changes made but when run locally we want to consider all changes made to the working directory (including uncommitted)

* Improved warning message for coming soon and included both committed and uncommitted changes in the local semgrep check

* Avoid fatal git error on ownership within CLI working directory
2025-11-24 15:40:08 +00:00
.github Example custom semgrep rule for detecting fixed time references that is stored in repo for scanning against pull requests (#26647) 2025-11-24 15:40:08 +00:00
.hyperlint [Hyperlint] Only keep high confidence checks (#23509) 2025-07-08 09:27:17 -05:00
.semgrep Example custom semgrep rule for detecting fixed time references that is stored in repo for scanning against pull requests (#26647) 2025-11-24 15:40:08 +00:00
.vscode [Changelog] Fix multi-product entries bug (#25234) 2025-09-17 09:32:23 -05:00
.windsurf/rules [Windsruf] Moving everything to one rule file (#26435) 2025-11-11 15:10:38 +00:00
bin [Workers AI] Update endpoint (#26411) 2025-11-10 09:52:46 -06:00
patches [Starlight] Update patch file (#25339) 2025-09-26 10:16:25 -05:00
public [ZT] Fix broken dash redirects (#26693) 2025-11-21 14:38:46 -06:00
scripts [Docs Site] Adopt eslint (#19263) 2025-01-21 18:28:16 +00:00
src Add changelog entry for Terraform v5.13.0 (#26650) 2025-11-24 09:33:19 -05:00
templates [Frontmatter] Updating languages to tags in frontmatter. (#24306) 2025-08-12 13:40:22 +00:00
tools Example custom semgrep rule for detecting fixed time references that is stored in repo for scanning against pull requests (#26647) 2025-11-24 15:40:08 +00:00
worker Render Markdown if we get an Accept text/markdown header (#25493) 2025-09-29 08:11:52 -05:00
.editorconfig fix: use space indenting for yaml files (#16295) 2024-08-20 09:36:08 -05:00
.git-blame-ignore-revs Ignore Starlight migration ref in blames (#16456) 2024-08-30 09:08:19 +01:00
.gitattributes Add _headers back and bump wrangler@4.1.0 (#20937) 2025-03-20 15:55:14 +00:00
.gitguardian.yml [Docs Site] format yaml files (#16840) 2024-09-17 15:48:52 -05:00
.gitignore Example custom semgrep rule for detecting fixed time references that is stored in repo for scanning against pull requests (#26647) 2025-11-24 15:40:08 +00:00
.node-version [Docs Site] Fixes all Astro TypeScript issues (#16457) 2024-09-13 21:32:17 +01:00
.npmrc [Docs Site] Adopt eslint (#19263) 2025-01-21 18:28:16 +00:00
.nvmrc JSON Mode documentation (#20266) 2025-02-25 17:33:12 +00:00
.prettierignore Overwrite prettier rule that is breaking image documentation (#22400) 2025-05-13 19:57:56 +00:00
.prettierrc.mjs [Docs Site] changelog-next (#18894) 2025-01-02 14:11:13 -08:00
astro.config.ts feat: only add lastmod during prod build (#26361) 2025-11-07 13:07:26 -06:00
CONTRIBUTING.md [README] Update for new contributor guide (#25049) 2025-09-11 09:44:45 +00:00
ec.config.mjs [Docs Site] Add EC line numbers plugin (#23667) 2025-07-15 13:59:44 +01:00
eslint.config.js [Docs Site] Implement WranglerCommand feedback (#24563) 2025-08-20 18:50:07 +01:00
LICENSE Restore original CC-BY 4.0 text (#10063) 2023-08-21 14:55:04 -04:00
LICENSE-CODE Adding licenses and legal info to README (#1226) 2021-04-27 16:50:11 -05:00
package-lock.json [Wrangler] Bump version to latest (#26507) 2025-11-13 13:05:27 -06:00
package.json [Wrangler] Bump version to latest (#26507) 2025-11-13 13:05:27 -06:00
postcss.config.mjs [Docs Site] Upgrade to Tailwind v4 (#21744) 2025-04-28 16:52:02 +01:00
README.md [README] Update for new contributor guide (#25049) 2025-09-11 09:44:45 +00:00
tsconfig.json [Docs Site] Move show-changed-files to bin and fix workflow condition (#19784) 2025-02-06 05:43:44 -06:00
vitest.workspace.ts [Docs Site] Add WranglerCLI component (#25137) 2025-09-15 19:35:43 +00:00
wrangler.toml Removing logging (#25358) 2025-09-23 17:40:19 +00:00

Cloudflare Developer Documentation

Welcome to the open-source repository for all Cloudflare Developer Documentation.

To learn how to contribute, visit the contribution page of the Cloudflare Style Guide.

Except as otherwise noted, Cloudflare and any contributors grant you a license to the Cloudflare Developer Documentation and other content in this repository under the Creative Commons Attribution 4.0 International Public License, see the LICENSE file, and grant you a license to any code in the repository under the MIT License, see the LICENSE-CODE file.

Cloudflare products and services referenced in the documentation may be either trademarks or registered trademarks of Cloudflare in the United States and/or other countries. The licenses for this project do not grant you rights to use any Cloudflare names, logos, or trademarks. Cloudflare's general trademark guidelines can be found at https://www.cloudflare.com/trademark/. Cloudflare and any contributors reserve all other rights, whether under their respective copyrights, patents, or trademarks, whether by implication, estoppel, or otherwise.

Please note that we may use AI tools to help us review technical documentation, pull requests and other issues submitted to our public GitHub page in order to identify and correct mistakes and other inconsistencies in our developer documentation. Please refrain from sharing any personal information in your submissions.