cloudflare / cloudflare/wrangler-action

Is there a way to customize the GitHub deployment description for Pages deployments?

Open
#404 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
1.9k
Forks
214
PR merge metrics
No merged PRs in 30d

Description

We have multiple Cloudflare Pages projects deploying from the same repo (docs site, stats site, design system docs), and they all show up in PR deployment comments with the same generic description:

```
github-actions bot deployed to preview
```

Since all the deployments look identical, there's no way to tell which site is being deployed without clicking through to the deployment URL.

This was working correctly when we used `cloudflare/pages-action@v1` before migrating to `wrangler-action@v3`.

Is there currently a way to customize the deployment description so we can differentiate between different Pages projects? Or would this need to be added as a feature?

What we'd like is for the deployment to show something like "Deployed to `stats`"

Contributor guide

Open the contributing guide

Research direction

Start by reading the wrangler-action@v3 deployment behavior and compare it with cloudflare/pages-action@v1, focusing on where the GitHub deployment description is produced. Done means providing a supported way to distinguish multiple Pages projects in pull-request deployment comments, such as showing the project name in the description.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, typescript
Domain
ci-cd, cloud
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.