Prompt Buddy logoPrompt Buddy

cloudflare · Cloudflare Workers Docs

Workers Build watch paths

Configures Cloudflare Workers to include or exclude specific file paths or directories from triggering builds, utilizing static filepaths or wildcard syntax to optimize build frequency in monorepos.

Import to Prompt Buddy

Derived skill

Files assembled from official documentation

Viewing SKILL.md

Workers Build watch paths

Configures Cloudflare Workers to include or exclude specific file paths or directories from triggering builds, utilizing static filepaths or wildcard syntax to optimize build frequency in monorepos.

When To Use

Use when you need to limit Cloudflare Workers builds to specific directories or prevent builds from triggering on changes to non-essential files in a monorepo.

Reference Files

FileContainsUse For
SKILL.mdEntry point: scope, routing table, and workflow.Start here.
docs/workers-ci-cd-builds-build-watch-paths-workflow-guide.mdDocumentation explaining how to configure include and exclude paths to control which repository changes trigger a Cloudflare Workers build.Questions about documentation explaining how to configure include and exclude paths to control which repository changes trigger a Clo...

What This Skill Covers

  • When you connect a git repository to Workers, by default a change to any file in the repository will trigger a build. You can configure Workers to include or...
  • Main sections: Configure Paths, Examples, Example 1, Example 2, Example 3.

Workflow

  1. Open the most relevant file under docs/ for the exact documented workflow and wording.
  2. Open schemas/ files for exact structured contracts.
  3. Open examples/ files for concrete requests, commands, snippets, and manifests.
  4. Do not add behavior or configuration that is not present in the attached source files.

Canonical source: https://developers.cloudflare.com/workers/ci-cd/builds/build-watch-paths