Skip to content

Commit 9a3769e

Browse files
committed
name mismatch changelog
1 parent 5b054d2 commit 9a3769e

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed
245 KB
Loading
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
title: Auto-Fixing Worker Name Mismatch in Git Repository
3+
description: Workers Builds automatically creates a pull request to update the name field in the wrangler file if it doesn’t match your Worker's name in the Cloudflare dashboard.
4+
products:
5+
- workers
6+
date: 2025-02-20T11:00:00Z
7+
---
8+
9+
![Auto-fixing Workers Name in Git Repo](~/assets/images/workers/platform/ci-cd/gh-auto-pr-name.png)
10+
11+
Now, when you import a Git repository as a Worker project or connect a Git repository to an existing Worker, we will automatically check if the Worker name in your Wrangler file differs from the name set in your Cloudflare dashboard.
12+
13+
Starting in **Wrangler v3.109.0+**, we will automatically create a pull request in your Git repository after the first build to update the name field in your wrangler file to ensure it aligns with your dashboard settings.
14+
15+
Why this matters:
16+
17+
- Avoids deployment issues caused by name mismatches
18+
- Keeps your repository and Cloudflare settings in sync
19+
- Automates tedious manual updates
20+
21+
Learn more about [Workers Builds](/workers/ci-cd/builds/).

0 commit comments

Comments
 (0)