Skip to content

Commit a68fc22

Browse files
authored
[Workers] Fix grammar mistakes in Builds docs (#31145)
Co-authored-by: Maximo Guk <Maximo-Guk@users.noreply.github.com>
1 parent 43f3eaa commit a68fc22

6 files changed

Lines changed: 8 additions & 8 deletions

File tree

src/content/docs/workers/ci-cd/builds/advanced-setups.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ A monorepo is a single repository that contains multiple applications. This setu
1717
- **Simplified dependency management**: Manage dependencies across all your workers and shared packages from a single place using tools like [pnpm workspaces](https://pnpm.io/workspaces) and [syncpack](https://syncpack.dev/).
1818
- **Code sharing and reuse**: Easily create and share common logic, types, and utilities between workers by creating shared packages.
1919
- **Atomic commits**: Changes affecting multiple workers or shared libraries can be committed together, making the history easier to understand and reducing the risk of inconsistencies.
20-
- **Consistent tooling**: Apply the same build, test, linting, and formatting configurations (e.g., via [Turborepo](https://turborepo.com) in for task orchestration and shared configs in `packages/`) across all projects, ensuring consistent tooling and code quality across Workers.
20+
- **Consistent tooling**: Apply the same build, test, linting, and formatting configurations (e.g., via [Turborepo](https://turborepo.com) for task orchestration and shared configs in `packages/`) across all projects, ensuring consistent tooling and code quality across Workers.
2121
- **Easier refactoring**: Refactoring code that spans multiple Workers or shared packages is significantly easier within a single repository.
2222

2323
#### Example Workers monorepos:

src/content/docs/workers/ci-cd/builds/api-reference.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ This guide shows you how to use the [Workers Builds REST API](/api/resources/wor
1616

1717
### 1. Create an API token with the correct permissions
1818

19-
To use the Builds API, you need an API token to authenticate your requests. The Builds API requires a **user-scoped** API token, account-scoped tokens are not supported and will return "Invalid token" errors.
19+
To use the Builds API, you need an API token to authenticate your requests. The Builds API requires a **user-scoped** API token. Account-scoped tokens are not supported and will return "Invalid token" errors.
2020

2121
Create your token at [dash.cloudflare.com/profile/api-tokens](https://dash.cloudflare.com/profile/api-tokens) with the following permissions:
2222

src/content/docs/workers/ci-cd/builds/build-watch-paths.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ products:
88
- workers
99
---
1010

11-
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 exclude specific paths to specify if Workers should skip a build for a given path. This can be especially helpful if you are using a monorepo project structure and want to limit the amount of builds being kicked off.
11+
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 exclude specific paths to specify if Workers should skip a build for a given path. This can be especially helpful if you are using a monorepo project structure and want to limit the number of builds being kicked off.
1212

1313
## Configure Paths
1414

@@ -24,7 +24,7 @@ The configuration fields can be filled in two ways:
2424

2525
:::note[Wildcard syntax]
2626

27-
A wildcard (`*`) is a character that is used within rules. It can be placed alone to match anything or placed at the start or end of a rule to allow for better control over branch configuration. A wildcard will match zero or more characters.For example, if you wanted to match all branches that started with `fix/` then you would create the rule `fix/*` to match strings like `fix/1`, `fix/bugs`or `fix/`.
27+
A wildcard (`*`) is a character that is used within rules. It can be placed alone to match anything or placed at the start or end of a rule to allow for better control over branch configuration. A wildcard will match zero or more characters. For example, if you wanted to match all branches that started with `fix/` then you would create the rule `fix/*` to match strings like `fix/1`, `fix/bugs`, or `fix/`.
2828

2929
:::
3030

@@ -36,7 +36,7 @@ For each path in a push event, build watch paths will be evaluated as follows:
3636

3737
Workers will bypass the path matching for a push event and default to building the project if:
3838

39-
- A push event contains 0 file changes, in case a user pushes a empty push event to trigger a build
39+
- A push event contains 0 file changes, in case a user pushes an empty push event to trigger a build
4040
- A push event contains 3000+ file changes or 20+ commits
4141

4242
## Examples

src/content/docs/workers/ci-cd/builds/git-integration/github-integration.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ To remove access to an individual GitHub repository, you can navigate to **Repos
7070

7171
To remove Cloudflare Workers and Pages access to your entire Git account, you can navigate to **Uninstall "Cloudflare Workers and Pages"**, then select **Uninstall**. Removing access to the Cloudflare Workers and Pages app will revoke Cloudflare's access to _all repositories_ from that GitHub account. If you want to only disable automatic builds and deployments, follow the [Disable Build](/workers/ci-cd/builds/#disconnecting-builds) instructions.
7272

73-
Note that removing access to GitHub will disable new builds for Workers and Pages project that were connected to those repositories, though your previous deployments will continue to be hosted by Cloudflare Workers.
73+
Note that removing access to GitHub will disable new builds for Workers and Pages projects that were connected to those repositories, though your previous deployments will continue to be hosted by Cloudflare Workers.
7474

7575
### Reinstall the Cloudflare GitHub App
7676

src/content/docs/workers/ci-cd/builds/git-integration/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Adding a Git integration also lets you monitor build statuses directly in your G
1818

1919
Cloudflare supports connecting Cloudflare Workers to your GitHub and GitLab repositories. Workers Builds does not currently support connecting self-hosted instances of GitHub or GitLab.
2020

21-
If you using a different Git provider (e.g. Bitbucket), you can use an [external CI/CD provider (e.g. GitHub Actions)](/workers/ci-cd/external-cicd/) and deploy using [Wrangler CLI](/workers/wrangler/commands/general/#deploy).
21+
If you are using a different Git provider (e.g. Bitbucket), you can use an [external CI/CD provider (e.g. GitHub Actions)](/workers/ci-cd/external-cicd/) and deploy using [Wrangler CLI](/workers/wrangler/commands/general/#deploy).
2222

2323
## Add a Git Integration
2424

src/content/docs/workers/ci-cd/builds/limits-and-pricing.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Workers Builds has the following limits.
2424

2525
## Definitions
2626

27-
- **Build minutes**: The amount of minutes that it takes to build a project.
27+
- **Build minutes**: The number of minutes that it takes to build a project.
2828
- **Concurrent builds**: The number of builds that can run in parallel across an account.
2929
- **Build timeout**: The amount of time that a build can be run before it is terminated.
3030
- **Deploy Hooks**: The rate limit for builds triggered by [Deploy Hooks](/workers/ci-cd/builds/deploy-hooks/).

0 commit comments

Comments
 (0)