cloudflare / cloudflare/wrangler-action
Secrets does not support wrangler --name argument
- Dominant language
- TypeScript
- Stars
- 1.9k
- Forks
- 214
- PR merge metrics
- No merged PRs in 30d
Description
There are multiple WORKER entry points in my project. (I do not intend to monorepo...)
I deployed the `command` option in `cloudflare/wrangler-action@v3` with `--name` and entry points. (I did not write `name` and `main` to share `wrangler.toml`).
However, I got an error where `name` was not specified in the part where wrangler secret put is executed.
```
✘ [ERROR] Required Worker name missing. Please specify the Worker name in wrangler.toml, or pass it as an argument with `--name `
```
I would like to see `name`option formally supported instead of writing it in `command`.
Contributor guide
Research direction
Start by tracing how the action handles the `command` option and invokes `wrangler secret put`, then compare that flow with the documented `wrangler.toml` `name` setting and `--name` argument. Done means the action formally accepts a name option and passes it through so secret deployment works without putting `name` in `wrangler.toml`.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github-actions, typescript
- Domain
- ci-cd, cloud
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100