esphome / esphome/workflows

Release Workflow fails when release title is a number

Open
#149 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
10
Forks
14
PR merge metrics
No merged PRs in 30d

Description

When creating a release that is purely a number, GitHub actions will fail because ESPHome expects a string for version, but the yaml value is interpreted as a float.

An example of failure is in my forked repo where I attempted to create a release titled `1.0`
https://github.com/t486/ESPHomeFeitSmartOutdoor

Action failure:

```
esphome: None
name: feit-outdoor-relay
friendly_name: Outdoor Plug (Feit BPPLUG/WIFI/WP/2)
name_add_mac_suffix: True
project:
name: esphome.feit-outdoor-relay

Must be string, got . did you forget putting quotes around the value?.
version: 1.0
min_version: 2025.11.3
build_path: build/feit-outdoor-relay
```

With no code or workflow changes, I was able to get through the build workflow by changing the release title to `v1.0`

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.