Skip to content
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
title: Auto-Fixing Worker Name Error in Git Repository
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.
products:
- workers
date: 2025-02-20T11:00:00Z
---

![Workers Builds Name Field Warning](~/assets/images/workers/platform/ci-cd/workers-builds-name.png)

One of the top reasons for Workers Builds build failures is a mismatch between the Worker name in the Cloudflare dashboard and the name in the Wrangler file in your Git repository. To eliminate this friction, Cloudflare is automating the fix to keep everything in sync.

![Auto-fixing Workers Name in Git Repo](~/assets/images/workers/platform/ci-cd/gh-auto-pr-name.png)

Now, when you import or connect a Git repository, Cloudflare will check for mismatches in the name. Starting in **Wrangler v3.109.0+**, Cloudflare will automatically create a pull request in your Git repository after the build completes to update the name field in your Wrangler file to ensure it aligns with your dashboard settings.

And this is just the beginning, we’re working on more ways to proactively catch and fix common issues, so your deployments stay smooth.

Learn more about [Workers Builds](/workers/ci-cd/builds/).